summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-04-04 07:30:29 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-04-04 19:28:33 -0600
commitae0ea14ff6f449ee4440fc5fdbf8e06bbbd13113 (patch)
treeae57095a60ffd09b26a06206cce8f2ec8c928e1a
parent1757acc293b936f0196e983ddea281c346952c45 (diff)
mesa: add missing glPush/PopMatrix() calls
-rw-r--r--progs/trivial/dlist-edgeflag.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/trivial/dlist-edgeflag.c b/progs/trivial/dlist-edgeflag.c
index fa97f04103..b58e7eb435 100644
--- a/progs/trivial/dlist-edgeflag.c
+++ b/progs/trivial/dlist-edgeflag.c
@@ -93,12 +93,14 @@ static void Draw(void)
{
glClear(GL_COLOR_BUFFER_BIT);
+ glPushMatrix();
glColor3f(0,.9,0);
glCallList(list);
glRotatef(45,0,0,1);
glColor3f(1,0,1);
glCallList(list);
+ glPopMatrix();
glFlush();