This commit is contained in:
Mylloon 2023-05-27 02:52:18 +02:00
parent 4189b6e6d2
commit 32a82adc96
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 0 deletions

View file

@ -159,6 +159,9 @@ static void draw(void) {
deplacement += (float)(0.4 * M_PI * dt); deplacement += (float)(0.4 * M_PI * dt);
glUseProgram(0); glUseProgram(0);
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
} }
static void deinit(void) { static void deinit(void) {

View file

@ -104,6 +104,7 @@ static void draw(void) {
glUseProgram(0); glUseProgram(0);
glBindTexture(GL_TEXTURE_2D, 0); glBindTexture(GL_TEXTURE_2D, 0);
glDisable(GL_DEPTH_TEST);
} }
static void deinit(void) { static void deinit(void) {