From 40905c909d4c2bcb255acc946204633cc1ee94b4 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 4 Apr 2008 09:38:22 -0600 Subject: [PATCH] mesa: add missing glPush/PopMatrix() calls --- progs/trivial/dlist-edgeflag-dangling.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/progs/trivial/dlist-edgeflag-dangling.c b/progs/trivial/dlist-edgeflag-dangling.c index 31300efd842..47d29bdade1 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(); -- 2.30.2