Commit: 6656eb76d41dbf5cab7eee939c45a05454f13bd6
Parent: 6f59cf326c45fbd5dda712672f371a6f10290434
Author: Randy Palamar
Date: Sun, 8 Dec 2024 22:13:53 -0700
disable depth test and culling
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vtgl.c b/vtgl.c
@@ -1175,6 +1175,9 @@ DEBUG_EXPORT VTGL_INITIALIZE_FN(vtgl_initialize)
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ glDisable(GL_DEPTH_TEST);
+ glDisable(GL_CULL_FACE);
+
/* NOTE: Generate an intermediate framebuffer for rendering to. This
* allows for additional post processing via a second shader stage */
glGenFramebuffers(1, &t->gl.fb);