Make it explicit that we do not use depth testing.
authorsgunderson@bigfoot.com <>
Wed, 21 Jul 2010 17:37:49 +0000 (19:37 +0200)
committersgunderson@bigfoot.com <>
Wed, 21 Jul 2010 17:37:49 +0000 (19:37 +0200)
glpitch.cpp

index e47e977..2f81619 100644 (file)
@@ -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;