X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Full_Screen.cpp;h=873cf00bc6e529cdebdcc6aa612a1b89b67b7e5e;hb=2a33aa48d0529a058becd257e744d6a5fef301c6;hp=7a932388493b1d578e216e3394b14c147bb0b4a4;hpb=bb193e1b764dfdbfcf604886d85e5cbc3664a408;p=lugaru.git diff --git a/Source/OpenGL_Full_Screen.cpp b/Source/OpenGL_Full_Screen.cpp index 7a93238..873cf00 100644 --- a/Source/OpenGL_Full_Screen.cpp +++ b/Source/OpenGL_Full_Screen.cpp @@ -956,10 +956,12 @@ Boolean SetUp (void) if(detail>2)detail=2; if(detail<0)detail=0; - if(screenwidth>3000)screenwidth=640; if(screenwidth<0)screenwidth=640; - if(screenheight>3000)screenheight=480; if(screenheight<0)screenheight=480; +#if !USE_SDL // we'll take anything that works. + if(screenwidth>3000)screenwidth=640; + if(screenheight>3000)screenheight=480; +#endif }