diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-11 22:58:07 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-11 22:58:07 +0400 |
commit | c40dfaa531ffb7b2444a88852ede29cda7c25ad7 (patch) | |
tree | 46e61526d1901e4d5a4d869eba5ac453660029aa | |
parent | 5bd1bb4899ee6f12435286403779e5b23325a4d6 (diff) |
Fix for recent commit, should only do glFinish() on Windows.
-rw-r--r-- | source/blender/src/ghostwinlay.c | 2 |
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); } |