Temporarily disable pageflipping assert.
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 11 Jan 2005 17:06:09 +0000 (17:06 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 11 Jan 2005 17:06:09 +0000 (17:06 +0000)
src/mesa/drivers/dri/unichrome/via_context.c

index e070b275a93ee469634397f8a6465d0e2bcf902b..11f9940998681ac331d4d75f520cd8b3597eec3a 100644 (file)
@@ -211,11 +211,11 @@ calculate_buffer_parameters( viaContextPtr vmesa )
 #define ALLOW_EXPERIMENTAL_PAGEFLIP 0
 #if ALLOW_EXPERIMENTAL_PAGEFLIP
       vmesa->doPageFlip = GL_TRUE;
+      /* vmesa->currentPage = 0; */
+      assert(vmesa->back.pitch == vmesa->front.pitch);
 #else
       vmesa->doPageFlip = GL_FALSE;
 #endif
-      /* vmesa->currentPage = 0; */
-      assert(vmesa->back.pitch == vmesa->front.pitch);
    }
    else
       vmesa->doPageFlip = GL_FALSE;