projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1757acc
)
mesa: add missing glPush/PopMatrix() calls
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 13:30:29 +0000
(07:30 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 5 Apr 2008 01:28:33 +0000
(19:28 -0600)
progs/trivial/dlist-edgeflag.c
patch
|
blob
|
history
diff --git
a/progs/trivial/dlist-edgeflag.c
b/progs/trivial/dlist-edgeflag.c
index fa97f041035f77242d4e0e848facb0702c1b48cb..b58e7eb43558fe44af2b118850679ee94fb31086 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();