projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f32c512
)
mesa: add missing glPush/PopMatrix() calls
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 13:29:28 +0000
(07:29 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 22:45:05 +0000
(16:45 -0600)
progs/trivial/dlist-edgeflag.c
patch
|
blob
|
history
diff --git
a/progs/trivial/dlist-edgeflag.c
b/progs/trivial/dlist-edgeflag.c
index 9e190db7001fe7a556b95b5a2f94d68e25df4aa0..ae799dc35579d8b8da82f426d8768aa2dc6f314f 100644
(file)
--- a/
progs/trivial/dlist-edgeflag.c
+++ b/
progs/trivial/dlist-edgeflag.c
@@
-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();