BGE: Disable depth testing when drawing the overhead profile information in the Blenderplayer. This keeps the text from being blocked by geometry in the scene.

This commit is contained in:
Mitchell Stokes 2012-10-08 01:25:21 +00:00
parent 5807726ca7
commit 99dd59f08c

@ -359,7 +359,8 @@ void GPC_RenderTools::RenderText2D(RAS_TEXT_RENDER_MODE mode,
glGetIntegerv(GL_LIGHTING, (GLint*)&light);
glDisable(GL_LIGHTING);
glDisable(GL_DEPTH_TEST);
// Set up viewing settings
glMatrixMode(GL_PROJECTION);
glPushMatrix();