Add back no-near-clipping which was accidentally removed

This commit is contained in:
Emil Lenngren 2022-04-30 17:43:54 +02:00
parent 589557be9c
commit 8526e3ee2a
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ static void gfx_opengl_init(void) {
glGenBuffers(1, &opengl_vbo);
glBindBuffer(GL_ARRAY_BUFFER, opengl_vbo);
glEnable(GL_DEPTH_CLAMP);
glDepthFunc(GL_LEQUAL);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);