Make it explicit that we do not use depth testing.
[pitch] / 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;