Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/swapbuffers.c')
-rw-r--r--source/blender/src/swapbuffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/swapbuffers.c b/source/blender/src/swapbuffers.c
index 8cc25254a29..3cedfdf6302 100644
--- a/source/blender/src/swapbuffers.c
+++ b/source/blender/src/swapbuffers.c
@@ -82,12 +82,12 @@ static void copy_back_to_front(void)
glDrawBuffer(GL_FRONT);
glCopyPixels(0, 0, winx, winy, GL_COLOR);
glDrawBuffer(GL_BACK);
- glFinish();
+ glFlush();
if (actually_swap) {
glRasterPos2f(-0.5,-0.5);
glDrawPixels(winx, winy, GL_RGBA, GL_UNSIGNED_BYTE, data);
- glFinish();
+ glFlush();
free(data);
}
}