From: Keith Whitwell Date: Tue, 11 Jan 2005 17:06:09 +0000 (+0000) Subject: Temporarily disable pageflipping assert. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aac4d8857af31984108896c11ea1ac98b9776b3e;p=mesa.git Temporarily disable pageflipping assert. --- diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index e070b275a93..11f99409986 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.c +++ b/src/mesa/drivers/dri/unichrome/via_context.c @@ -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;