mesa: add missing glPush/PopMatrix() calls
This commit is contained in:
parent
ae0ea14ff6
commit
40905c909d
|
@ -88,6 +88,7 @@ static void Draw(void)
|
||||||
{
|
{
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
|
glPushMatrix();
|
||||||
glColor3f(0,.9,0);
|
glColor3f(0,.9,0);
|
||||||
glEdgeFlag(0);
|
glEdgeFlag(0);
|
||||||
glCallList(list);
|
glCallList(list);
|
||||||
|
@ -95,6 +96,7 @@ static void Draw(void)
|
||||||
glRotatef(45,0,0,1);
|
glRotatef(45,0,0,1);
|
||||||
glColor3f(1,0,1);
|
glColor3f(1,0,1);
|
||||||
glCallList(list);
|
glCallList(list);
|
||||||
|
glPopMatrix();
|
||||||
|
|
||||||
glFlush();
|
glFlush();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue