fo: adapt to clear interface changes
authorRoland Scheidegger <sroland@vmware.com>
Fri, 28 May 2010 23:19:24 +0000 (01:19 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 28 May 2010 23:19:24 +0000 (01:19 +0200)
src/gallium/drivers/failover/fo_context.c

index 2246c1468ca9b1e2277393b85b0f4cc38bd0c8a5..9f32cbf2967cf766f67f050d18fd1e400f5eb6dc 100644 (file)
@@ -146,6 +146,8 @@ struct pipe_context *failover_create( struct pipe_context *hw,
    failover->pipe.draw_arrays = failover_draw_arrays;
    failover->pipe.draw_elements = failover_draw_elements;
    failover->pipe.clear = hw->clear;
+   failover->pipe.clearRT = hw->clearRT;
+   failover->pipe.clearDS = hw->clearDS;
 
    /* No software occlusion fallback (or other optional functionality)
     * at this point - if the hardware doesn't support it, don't
@@ -157,7 +159,6 @@ struct pipe_context *failover_create( struct pipe_context *hw,
    failover_init_state_functions( failover );
 
    failover->pipe.resource_copy_region = hw->resource_copy_region;
-   failover->pipe.resource_fill_region = hw->resource_fill_region;
 
 #if 0
    failover->pipe.texture_create = hw->texture_create;