mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
mesa: add missing glPush/PopMatrix() calls
This commit is contained in:
parent
1757acc293
commit
ae0ea14ff6
1 changed files with 2 additions and 0 deletions
|
|
@ -93,12 +93,14 @@ static void Draw(void)
|
||||||
{
|
{
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
|
glPushMatrix();
|
||||||
glColor3f(0,.9,0);
|
glColor3f(0,.9,0);
|
||||||
glCallList(list);
|
glCallList(list);
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue