From a3dffd76d3408c6da089f467f5cc53b770dbcc86 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Mon, 7 Jun 2010 20:47:54 +0200 Subject: [PATCH] softpipe: use util_clear_render_target/depth_stencil fallbacks --- src/gallium/drivers/softpipe/sp_surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c index 99433f7d1d0..55b27e60100 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; } -- 2.30.2