Revision: 17023
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17023
Author:   blendix
Date:     2008-10-11 20:58:07 +0200 (Sat, 11 Oct 2008)

Log Message:
-----------
Fix for recent commit, should only do glFinish() on Windows.

Modified Paths:
--------------
    trunk/blender/source/blender/src/ghostwinlay.c

Modified: trunk/blender/source/blender/src/ghostwinlay.c
===================================================================
--- trunk/blender/source/blender/src/ghostwinlay.c      2008-10-11 18:52:36 UTC 
(rev 17022)
+++ trunk/blender/source/blender/src/ghostwinlay.c      2008-10-11 18:58:07 UTC 
(rev 17023)
@@ -478,6 +478,7 @@
 }
 
 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 @@
        // discouraged for good performance. (brecht)
        //
        glFinish();
+#endif
 
        GHOST_SwapWindowBuffers(win->ghostwin);
 }


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to