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

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

softpipe: use util_clear_render_target/depth_stencil fallbacks

---

 src/gallium/drivers/softpipe/sp_surface.c |    2 ++
 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 99433f7..55b27e6 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;
 }

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

Reply via email to