Use local-endian screenshots. (This didn't just switch it for everybody screwing up little-endian machines did it?)

This commit is contained in:
Steve Checkoway
2003-06-18 09:56:46 +00:00
parent 426c8736b7
commit 77cfa7b87a
+2 -2
View File
@@ -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);