From 1e4cd24e9c549adf3fcb93ec84c922974283fb92 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 4 Apr 2008 07:29:28 -0600 Subject: mesa: add missing glPush/PopMatrix() calls --- progs/trivial/dlist-edgeflag.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'progs/trivial/dlist-edgeflag.c') diff --git a/progs/trivial/dlist-edgeflag.c b/progs/trivial/dlist-edgeflag.c index 9e190db7001..ae799dc3557 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(); -- cgit v1.2.3