mesa: add missing glPush/PopMatrix() calls
authorBrian <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 13:30:29 +0000 (07:30 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 5 Apr 2008 01:28:33 +0000 (19:28 -0600)
progs/trivial/dlist-edgeflag.c

index fa97f041035f77242d4e0e848facb0702c1b48cb..b58e7eb43558fe44af2b118850679ee94fb31086 100644 (file)
@@ -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();