summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-04-04 07:29:28 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-04-04 16:45:05 -0600
commit1e4cd24e9c549adf3fcb93ec84c922974283fb92 (patch)
treef33ee931e8f6783b793c451b76b8df30bb212e53 /progs
parentf32c51277498887b348133ebcd947dbc8acce756 (diff)
mesa: add missing glPush/PopMatrix() calls
Diffstat (limited to 'progs')
-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 9e190db700..ae799dc355 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();