diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index e070b275a9..11f9940998 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; |