forked from bartvdbraak/blender
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:
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();
|
||||
|
Loading…
Reference in New Issue
Block a user