summaryrefslogtreecommitdiffstats
path: root/progs/tests/bug_3101.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-07-07 20:43:01 +0000
committerIan Romanick <[email protected]>2005-07-07 20:43:01 +0000
commit38e2fa385de8a77d4e967fa5cbf5b702f752df2b (patch)
tree4c33b0a8ceacd0177ce566e8b597bceaddfe18a4 /progs/tests/bug_3101.c
parent2550844c6e20286113ea7f8d72cd9a9e0b05bc3d (diff)
Put back the glPopMatrix. This test was derived from blendminmax.c.
When extra code was cut from blendminmax.c's Display function, the glPopMatrix call was also accidentally cut.
Diffstat (limited to 'progs/tests/bug_3101.c')
-rw-r--r--progs/tests/bug_3101.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/tests/bug_3101.c b/progs/tests/bug_3101.c
index fb9ebb10593..761dcbb9513 100644
--- a/progs/tests/bug_3101.c
+++ b/progs/tests/bug_3101.c
@@ -63,6 +63,8 @@ static void Display( void )
glVertex2f(-1, 1);
glEnd();
+ glPopMatrix();
+
glutSwapBuffers();
}