From 4ee3f14c361d5f3103e11f5c88682240f26bf1c0 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Wed, 21 Jul 2010 19:37:49 +0200 Subject: [PATCH] Make it explicit that we do not use depth testing. --- glpitch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/glpitch.cpp b/glpitch.cpp index e47e977..2f81619 100644 --- a/glpitch.cpp +++ b/glpitch.cpp @@ -60,6 +60,7 @@ int main(void) glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glClear(GL_COLOR_BUFFER_BIT); + glDisable(GL_DEPTH_TEST); for ( ;; ) { SDL_Event event; -- 2.39.5