mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01: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);
|
||||
|
||||
glPushMatrix();
|
||||
glColor3f(0,.9,0);
|
||||
glCallList(list);
|
||||
|
||||
glRotatef(45,0,0,1);
|
||||
glColor3f(1,0,1);
|
||||
glCallList(list);
|
||||
glPopMatrix();
|
||||
|
||||
glFlush();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue