svga: Fill in is_resource_referenced callback.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 10 May 2010 20:20:26 +0000 (21:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 10 May 2010 20:23:39 +0000 (21:23 +0100)
src/gallium/drivers/svga/svga_resource.c

index ba630582e594beda8e7b43689bffbab8e8ef5c44..ef2a0c40f03026eb2377377da7c5860dd41c9f0a 100644 (file)
@@ -33,6 +33,7 @@ svga_resource_from_handle(struct pipe_screen * screen,
 void
 svga_init_resource_functions(struct svga_context *svga)
 {
+   svga->pipe.is_resource_referenced = u_is_resource_referenced_vtbl;
    svga->pipe.get_transfer = u_get_transfer_vtbl;
    svga->pipe.transfer_map = u_transfer_map_vtbl;
    svga->pipe.transfer_flush_region = u_transfer_flush_region_vtbl;