]> git.sesse.net Git - pitch/commitdiff
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 e47e977f2b8743960b776e28c13f6a77947b574c..2f816199dfde9e06cacfac3816ac6a16b16fc427 100644 (file)
@@ -60,6 +60,7 @@ int main(void)
 
        glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
        glClear(GL_COLOR_BUFFER_BIT);
 
        glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
        glClear(GL_COLOR_BUFFER_BIT);
+       glDisable(GL_DEPTH_TEST);
 
        for ( ;; ) {
                SDL_Event event;
 
        for ( ;; ) {
                SDL_Event event;