From: Brian Date: Fri, 4 Apr 2008 13:30:29 +0000 (-0600) Subject: mesa: add missing glPush/PopMatrix() calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae0ea14ff6f449ee4440fc5fdbf8e06bbbd13113;p=mesa.git mesa: add missing glPush/PopMatrix() calls --- diff --git a/progs/trivial/dlist-edgeflag.c b/progs/trivial/dlist-edgeflag.c index fa97f041035..b58e7eb4355 100644 --- 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();