From c84cde7b0b4d7a216aa60e0d322ae407107c98f8 Mon Sep 17 00:00:00 2001 From: Brian Paul <brian.paul@tungstengraphics.com> Date: Sat, 29 Jan 2005 12:57:36 +0000 Subject: added missing glFinish() --- progs/demos/osdemo16.c | 5 +++++ progs/demos/osdemo32.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/progs/demos/osdemo16.c b/progs/demos/osdemo16.c index f2f321b9b3e..6f892620ce6 100644 --- a/progs/demos/osdemo16.c +++ b/progs/demos/osdemo16.c @@ -128,6 +128,11 @@ static void render_image( void ) glPopMatrix(); + /* This is very important!!! + * Make sure buffered commands are finished!!! + */ + glFinish(); + gluDeleteQuadric(qobj); { diff --git a/progs/demos/osdemo32.c b/progs/demos/osdemo32.c index 66e821ad4e8..b425a56c848 100644 --- a/progs/demos/osdemo32.c +++ b/progs/demos/osdemo32.c @@ -127,6 +127,11 @@ static void render_image( void ) glPopMatrix(); + /* This is very important!!! + * Make sure buffered commands are finished!!! + */ + glFinish(); + gluDeleteQuadric(qobj); { -- cgit v1.2.3