From: sgunderson@bigfoot.com <> Date: Wed, 21 Jul 2010 17:37:49 +0000 (+0200) Subject: Make it explicit that we do not use depth testing. X-Git-Url: https://git.sesse.net/?p=pitch;a=commitdiff_plain;h=4ee3f14c361d5f3103e11f5c88682240f26bf1c0 Make it explicit that we do not use depth testing. --- 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;