From f92879576e9b899bb6ac84f1009322c1c7e5ed51 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Mon, 7 Jun 2010 20:47:45 +0200 Subject: [PATCH] llvmpipe: use util_clear_render_target/depth_stencil fallbacks --- src/gallium/drivers/llvmpipe/lp_surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c index 4f409f9..76b3fce 100644 --- a/src/gallium/drivers/llvmpipe/lp_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_surface.c @@ -153,4 +153,6 @@ void llvmpipe_init_surface_functions(struct llvmpipe_context *lp) { lp->pipe.resource_copy_region = lp_resource_copy; + lp->pipe.clear_render_target = util_clear_render_target; + lp->pipe.clear_depth_stencil = util_clear_depth_stencil; } -- 2.7.4