EMI: Add glViewport call to make APITrace happy

This commit is contained in:
Dries Harnie 2012-11-18 16:24:12 +01:00
parent e081a07692
commit a23f804d9a

View file

@ -140,6 +140,7 @@ byte *GfxOpenGL::setupScreen(int screenW, int screenH, bool fullscreen) {
_smushNumTex = 0; _smushNumTex = 0;
_currentShadowArray = NULL; _currentShadowArray = NULL;
glViewport(0, 0, _screenWidth, _screenHeight);
GLfloat ambientSource[] = { 0.0f, 0.0f, 0.0f, 1.0f }; GLfloat ambientSource[] = { 0.0f, 0.0f, 0.0f, 1.0f };
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambientSource); glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambientSource);