EMI: Add glViewport call to make APITrace happy
This commit is contained in:
parent
e081a07692
commit
a23f804d9a
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ byte *GfxOpenGL::setupScreen(int screenW, int screenH, bool fullscreen) {
|
|||
_smushNumTex = 0;
|
||||
|
||||
_currentShadowArray = NULL;
|
||||
glViewport(0, 0, _screenWidth, _screenHeight);
|
||||
|
||||
GLfloat ambientSource[] = { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambientSource);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue