mesa: add missing glPush/PopMatrix() calls
authorBrian <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 15:37:21 +0000 (09:37 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 22:45:05 +0000 (16:45 -0600)
progs/trivial/dlist-edgeflag-dangling.c

index b993946320ff521d2f7a45ca80f425ff946392cb..08fae549c31b0b1f4879d7c043611ea0b0515322 100644 (file)
@@ -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();