Module: Mesa
Branch: master
Commit: f92879576e9b899bb6ac84f1009322c1c7e5ed51
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f92879576e9b899bb6ac84f1009322c1c7e5ed51

Author: Roland Scheidegger <[email protected]>
Date:   Mon Jun  7 20:47:45 2010 +0200

llvmpipe: use util_clear_render_target/depth_stencil fallbacks

---

 src/gallium/drivers/llvmpipe/lp_surface.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to