X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo.cpp;h=65a9fdde3f41923a33e74dcc4d7b92d5fa28d938;hb=ba85b1c5daf45e9d78201fb80542b79eb6f8c92d;hp=45fd04c2af8f73e121ef49590f471f8c5ca45c0c;hpb=4b32affecce8cf8f557feb96daa76ba1692c3afe;p=virtualjaguar diff --git a/src/video.cpp b/src/video.cpp index 45fd04c..65a9fdd 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -245,7 +245,7 @@ void ResizeScreen(uint32 width, uint32 height) } else { - mainSurface = SDL_SetVideoMode(width, height, 16, mainSurfaceFlags); + mainSurface = SDL_SetVideoMode(width, height, 32, mainSurfaceFlags); if (mainSurface == NULL) { @@ -261,10 +261,10 @@ void ResizeScreen(uint32 width, uint32 height) // // Return the screen's pitch // -uint32 GetSDLScreenPitch(void) +/*uint32 GetSDLScreenPitch(void) { return surface->pitch; -} +}*/ // // Return the screen's width in pixels @@ -289,7 +289,7 @@ void ToggleFullscreen(void) if (vjs.fullscreen) mainSurfaceFlags |= SDL_FULLSCREEN; - mainSurface = SDL_SetVideoMode(tom_width, tom_height, 16, mainSurfaceFlags); + mainSurface = SDL_SetVideoMode(tom_width, tom_height, 32, mainSurfaceFlags); if (mainSurface == NULL) {