From 307af672917ace9879491388ee55943c4fe03aa1 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Fri, 4 Feb 2005 06:30:03 +0000 Subject: [PATCH] Changed remaining 16BPP modes to 32BPP --- src/video.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.37.2