OSDN Git Service

progs/tests: disable texturing before printing text
authorBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 00:02:02 +0000 (18:02 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 00:02:02 +0000 (18:02 -0600)
progs/tests/texcmp.c

index d1e829d..743b1b0 100644 (file)
@@ -115,6 +115,8 @@ static void Display( void )
 
    glPopMatrix();
 
+   glDisable(GL_TEXTURE_2D);
+
    /* info */
    glColor4f(1, 1, 1, 1);