mesa: add missing glPush/PopMatrix() calls
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user