summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-06-07 20:47:54 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-06-07 20:49:16 +0200
commita3dffd76d3408c6da089f467f5cc53b770dbcc86 (patch)
treee76e1343701b7ea1f0ddfcd8cc20008bd1711ee3
parentf92879576e9b899bb6ac84f1009322c1c7e5ed51 (diff)
softpipe: use util_clear_render_target/depth_stencil fallbacks
-rw-r--r--src/gallium/drivers/softpipe/sp_surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c
index 99433f7d1d..55b27e6010 100644
--- a/src/gallium/drivers/softpipe/sp_surface.c
+++ b/src/gallium/drivers/softpipe/sp_surface.c
@@ -33,4 +33,6 @@ void
sp_init_surface_functions(struct softpipe_context *sp)
{
sp->pipe.resource_copy_region = util_resource_copy_region;
+ sp->pipe.clear_render_target = util_clear_render_target;
+ sp->pipe.clear_depth_stencil = util_clear_depth_stencil;
}