From 32a82adc967d4a3f2d0d9cd2c216e852cf16e8e4 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 27 May 2023 02:52:18 +0200 Subject: [PATCH] disable --- src/manif.c | 3 +++ src/tag.c | 1 + 2 files changed, 4 insertions(+) diff --git a/src/manif.c b/src/manif.c index f136733..c3c99a0 100644 --- a/src/manif.c +++ b/src/manif.c @@ -159,6 +159,9 @@ static void draw(void) { deplacement += (float)(0.4 * M_PI * dt); glUseProgram(0); + + glDisable(GL_DEPTH_TEST); + glDisable(GL_CULL_FACE); } static void deinit(void) { diff --git a/src/tag.c b/src/tag.c index 1032510..ff61d9c 100644 --- a/src/tag.c +++ b/src/tag.c @@ -104,6 +104,7 @@ static void draw(void) { glUseProgram(0); glBindTexture(GL_TEXTURE_2D, 0); + glDisable(GL_DEPTH_TEST); } static void deinit(void) {