#include <Profiler.h>
#include "agl.h"
- #include "gl.h"
+ #include "gamegl.h"
#include "glu.h"
#endif
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
}
opstream << "Caught exception: " << error.what() << std::endl;
opstream.close();
}
-}
\ No newline at end of file
+}