added missing glFinish()
This commit is contained in:
@@ -128,6 +128,11 @@ static void render_image( void )
|
||||
|
||||
glPopMatrix();
|
||||
|
||||
/* This is very important!!!
|
||||
* Make sure buffered commands are finished!!!
|
||||
*/
|
||||
glFinish();
|
||||
|
||||
gluDeleteQuadric(qobj);
|
||||
|
||||
{
|
||||
|
@@ -127,6 +127,11 @@ static void render_image( void )
|
||||
|
||||
glPopMatrix();
|
||||
|
||||
/* This is very important!!!
|
||||
* Make sure buffered commands are finished!!!
|
||||
*/
|
||||
glFinish();
|
||||
|
||||
gluDeleteQuadric(qobj);
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user