From 5b33869ed8a9f3317190444849bf291574b5d9d0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 12 Nov 2002 09:56:57 +0000 Subject: [PATCH] uncomment mode switch code --- stepmania/src/RageDisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index e267edb209..c7da8a6a0e 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -162,7 +162,7 @@ bool RageDisplay::SetVideoMode( bool windowed, int width, int height, int bpp, i bool need_reload = false; -#ifndef SDL_HAS_CHANGEVIDEOMODEx +#ifndef SDL_HAS_CHANGEVIDEOMODE /* We can't change the video mode without nuking the GL context. If we have * a screen, NULL it out, and signal the caller to reload all textures. */ if(g_screen) { @@ -179,7 +179,7 @@ bool RageDisplay::SetVideoMode( bool windowed, int width, int height, int bpp, i SDL_WM_SetCaption("StepMania", "StepMania"); } -#ifdef SDL_HAS_CHANGEVIDEOMODEx +#ifdef SDL_HAS_CHANGEVIDEOMODE else { SDL_SM_ChangeVideoMode_OpenGL(g_flags, g_screen, width, height);