softpipe: use util_clear_render_target/depth_stencil fallbacks
authorRoland Scheidegger <sroland@vmware.com>
Mon, 7 Jun 2010 18:47:54 +0000 (20:47 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 7 Jun 2010 18:49:16 +0000 (20:49 +0200)
src/gallium/drivers/softpipe/sp_surface.c

index 99433f7d1d07cd25da675b412907120c30dc8882..55b27e60100af43028f13a83eeb41457bb677e6c 100644 (file)
@@ -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;
 }