From 77cfa7b87a8b12e2f822861d9bb1cf1c86b243b5 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 18 Jun 2003 09:56:46 +0000 Subject: [PATCH] Use local-endian screenshots. (This didn't just switch it for everybody screwing up little-endian machines did it?) --- stepmania/src/RageDisplay_OGL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index ae32765d20..2e341efa07 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -509,10 +509,10 @@ void RageDisplay_OGL::SaveScreenshot( CString sPath ) int width = wind->GetVideoModeParams().width; int height = wind->GetVideoModeParams().height; - SDL_Surface *image = SDL_CreateRGBSurface( + SDL_Surface *image = SDL_CreateRGBSurfaceSane( SDL_SWSURFACE, width, height, 24, 0x0000FF, 0x00FF00, 0xFF0000, 0x000000); - SDL_Surface *temp = SDL_CreateRGBSurface( + SDL_Surface *temp = SDL_CreateRGBSurfaceSane( SDL_SWSURFACE, width, height, 24, 0x0000FF, 0x00FF00, 0xFF0000, 0x000000);