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 d1e829d1b73670eb3ea053552c1395ebc258bd68..743b1b09b44c1b90b7eb9039d06eae28f08e4491 100644 (file)
@@ -115,6 +115,8 @@ static void Display( void )
 
    glPopMatrix();
 
+   glDisable(GL_TEXTURE_2D);
+
    /* info */
    glColor4f(1, 1, 1, 1);