summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-04 09:38:22 -0600
committerBrian <[email protected]>2008-04-04 19:28:33 -0600
commit40905c909d4c2bcb255acc946204633cc1ee94b4 (patch)
tree14636ff497a5aa72ffaab9d0624788ea01373b61 /progs
parentae0ea14ff6f449ee4440fc5fdbf8e06bbbd13113 (diff)
mesa: add missing glPush/PopMatrix() calls
Diffstat (limited to 'progs')
-rw-r--r--progs/trivial/dlist-edgeflag-dangling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/trivial/dlist-edgeflag-dangling.c b/progs/trivial/dlist-edgeflag-dangling.c
index 31300efd842..47d29bdade1 100644
--- a/progs/trivial/dlist-edgeflag-dangling.c
+++ b/progs/trivial/dlist-edgeflag-dangling.c
@@ -88,6 +88,7 @@ static void Draw(void)
{
glClear(GL_COLOR_BUFFER_BIT);
+ glPushMatrix();
glColor3f(0,.9,0);
glEdgeFlag(0);
glCallList(list);
@@ -95,6 +96,7 @@ static void Draw(void)
glRotatef(45,0,0,1);
glColor3f(1,0,1);
glCallList(list);
+ glPopMatrix();
glFlush();