twn_gl_15_rendering.c: re-enable depth write after text function
This commit is contained in:
parent
ac74f39c03
commit
f1e2fa090b
@ -499,6 +499,9 @@ void finally_draw_text(FontData const *font_data,
|
|||||||
|
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||||
|
|
||||||
|
/* TODO: why doesn't it get restored if not placed here? */
|
||||||
|
glDepthMask(GL_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user