summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-29 01:19:24 +0200
committerRoland Scheidegger <[email protected]>2010-05-29 01:19:24 +0200
commit9eae3fd99229b65731ea17b9e0e72eace10d6eb7 (patch)
tree5fc3d9cafb97af789d6dfabce78bce5d2e0fe008 /src/gallium
parent821498bd6f131d87eca93c4b28a9097ec8316e14 (diff)
fo: adapt to clear interface changes
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/failover/fo_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/failover/fo_context.c b/src/gallium/drivers/failover/fo_context.c
index 2246c1468ca..9f32cbf2967 100644
--- a/src/gallium/drivers/failover/fo_context.c
+++ b/src/gallium/drivers/failover/fo_context.c
@@ -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;