EMI: Fix the background color when running the debugger

Fixes #982
This commit is contained in:
Joel Teichroeb 2014-08-19 17:10:10 -07:00
parent b7814652e2
commit 32364faacf
2 changed files with 8 additions and 0 deletions

View file

@ -784,6 +784,10 @@ void GfxOpenGL::drawEMIModelFace(const EMIModel *model, const EMIMeshFace *face)
}
glEnd();
if (!_currentShadowArray) {
glColor3f(1.0f, 1.0f, 1.0f);
}
glEnable(GL_TEXTURE_2D);
glEnable(GL_DEPTH_TEST);
glEnable(GL_ALPHA_TEST);