diff options
Diffstat (limited to 'progs/demos/osdemo16.c')
-rw-r--r-- | progs/demos/osdemo16.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/demos/osdemo16.c b/progs/demos/osdemo16.c index f2f321b9b3..6f892620ce 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); { |