diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-01-29 12:57:36 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-01-29 12:57:36 +0000 |
commit | c84cde7b0b4d7a216aa60e0d322ae407107c98f8 (patch) | |
tree | 8cef63fff09056109a4366c1dfdce0c9974b57e4 /progs | |
parent | fbb478c946cc78177164a63e50ae1d7dbeee5e08 (diff) | |
download | external_mesa3d-c84cde7b0b4d7a216aa60e0d322ae407107c98f8.zip external_mesa3d-c84cde7b0b4d7a216aa60e0d322ae407107c98f8.tar.gz external_mesa3d-c84cde7b0b4d7a216aa60e0d322ae407107c98f8.tar.bz2 |
added missing glFinish()
Diffstat (limited to 'progs')
-rw-r--r-- | progs/demos/osdemo16.c | 5 | ||||
-rw-r--r-- | progs/demos/osdemo32.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/progs/demos/osdemo16.c b/progs/demos/osdemo16.c index f2f321b..6f89262 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 66e821a..b425a56 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); { |