Put back the glPopMatrix. This test was derived from blendminmax.c.
authorIan Romanick <idr@us.ibm.com>
Thu, 7 Jul 2005 20:43:01 +0000 (20:43 +0000)
committerIan Romanick <idr@us.ibm.com>
Thu, 7 Jul 2005 20:43:01 +0000 (20:43 +0000)
When extra code was cut from blendminmax.c's Display function, the
glPopMatrix call was also accidentally cut.

progs/tests/bug_3101.c

index fb9ebb105934c8e5f77bb67eb818b51b069e6699..761dcbb9513164cf6c0a9c2b2f2637d4b9ab953f 100644 (file)
@@ -63,6 +63,8 @@ static void Display( void )
    glVertex2f(-1,  1);
    glEnd();
 
+   glPopMatrix();
+
    glutSwapBuffers();
 }