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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-11 22:58:07 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-11 22:58:07 +0400
commitc40dfaa531ffb7b2444a88852ede29cda7c25ad7 (patch)
tree46e61526d1901e4d5a4d869eba5ac453660029aa /source
parent5bd1bb4899ee6f12435286403779e5b23325a4d6 (diff)
Fix for recent commit, should only do glFinish() on Windows.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/ghostwinlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index a8bf39ccc29..9388ac93543 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -478,6 +478,7 @@ void window_make_active(Window *win) {
}
void window_swap_buffers(Window *win) {
+#ifdef _WIN32
// adding a glFinish() here is to prevent Geforce in 'full scene antialias' mode
// from antialising the Blender window. Officially a swapbuffers does a glFinish
// itself, so this feels really like a hack... but it won't harm. (ton)
@@ -487,6 +488,7 @@ void window_swap_buffers(Window *win) {
// discouraged for good performance. (brecht)
//
glFinish();
+#endif
GHOST_SwapWindowBuffers(win->ghostwin);
}