twn_gl_15_rendering.c: re-enable depth write after text function

This commit is contained in:
veclav talica 2024-10-08 00:42:15 +03:00
parent ac74f39c03
commit f1e2fa090b

View File

@ -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);
}