X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Full_Screen.cpp;h=873cf00bc6e529cdebdcc6aa612a1b89b67b7e5e;hb=3c8f67c3c66a86fc9e45469ce2fed4222d486c9f;hp=223b0c57074e4d96807acca6ba48127326cc4916;hpb=8562aa5bebc97ea8a61d056aec3847030c6985b7;p=lugaru.git diff --git a/Source/OpenGL_Full_Screen.cpp b/Source/OpenGL_Full_Screen.cpp index 223b0c5..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 } @@ -1767,4 +1769,4 @@ int main (void) opstream << "Caught exception: " << error.what() << std::endl; opstream.close(); } -} \ No newline at end of file +}