From: Shamus Hammons Date: Fri, 4 Feb 2005 06:30:03 +0000 (+0000) Subject: Changed remaining 16BPP modes to 32BPP X-Git-Tag: 2.0.0~107 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307af672917ace9879491388ee55943c4fe03aa1;hp=70e44737da0ea82e4da16ccdec3825c4400920c7;p=virtualjaguar Changed remaining 16BPP modes to 32BPP --- 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) {