diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-04-04 09:37:21 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-04-04 16:45:05 -0600 |
commit | fe1c9c05855e364f7d9e0e2d1f5781440ae16034 (patch) | |
tree | 4e974c055dfc7d214729b6ce5e1635750ba6a0f5 /progs/trivial | |
parent | 1e4cd24e9c549adf3fcb93ec84c922974283fb92 (diff) |
mesa: add missing glPush/PopMatrix() calls
Diffstat (limited to 'progs/trivial')
-rw-r--r-- | progs/trivial/dlist-edgeflag-dangling.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/trivial/dlist-edgeflag-dangling.c b/progs/trivial/dlist-edgeflag-dangling.c index b993946320..08fae549c3 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(); |