diff --git a/src/rendering/twn_gl_15_rendering.c b/src/rendering/twn_gl_15_rendering.c index 5afd1bf..8c05724 100644 --- a/src/rendering/twn_gl_15_rendering.c +++ b/src/rendering/twn_gl_15_rendering.c @@ -499,6 +499,9 @@ void finally_draw_text(FontData const *font_data, glBindTexture(GL_TEXTURE_2D, 0); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); + + /* TODO: why doesn't it get restored if not placed here? */ + glDepthMask(GL_TRUE); }