From: Brian Date: Fri, 4 Apr 2008 15:37:21 +0000 (-0600) Subject: mesa: add missing glPush/PopMatrix() calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe1c9c05855e364f7d9e0e2d1f5781440ae16034;p=mesa.git mesa: add missing glPush/PopMatrix() calls --- diff --git a/progs/trivial/dlist-edgeflag-dangling.c b/progs/trivial/dlist-edgeflag-dangling.c index b993946320f..08fae549c31 100644 --- a/progs/trivial/dlist-edgeflag-dangling.c +++ b/progs/trivial/dlist-edgeflag-dangling.c @@ -88,6 +88,7 @@ static void Draw(void) { glClear(GL_COLOR_BUFFER_BIT); + glPushMatrix(); glColor3f(0,.9,0); glEdgeFlag(0); glCallList(list); @@ -95,6 +96,7 @@ static void Draw(void) glRotatef(45,0,0,1); glColor3f(1,0,1); glCallList(list); + glPopMatrix(); glFlush();