svga: More don't recurse
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 19 Apr 2010 19:10:57 +0000 (20:10 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 19 Apr 2010 20:42:49 +0000 (21:42 +0100)
src/gallium/drivers/svga/svga_resource.c

index b76035333f6b4a5321f5f2a96fd4e30afb54aa4f..ba630582e594beda8e7b43689bffbab8e8ef5c44 100644 (file)
@@ -26,7 +26,7 @@ svga_resource_from_handle(struct pipe_screen * screen,
    if (template->target == PIPE_BUFFER)
       return NULL;
    else
-      return svga_resource_from_handle(screen, template, whandle);
+      return svga_texture_from_handle(screen, template, whandle);
 }