svga: Don't recurse
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 19 Apr 2010 18:12:49 +0000 (19:12 +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 15258c1966bd9aa205f4447cb600952e29e5b1d7..b76035333f6b4a5321f5f2a96fd4e30afb54aa4f 100644 (file)
@@ -14,7 +14,7 @@ svga_resource_create(struct pipe_screen *screen,
    if (template->target == PIPE_BUFFER)
       return svga_buffer_create(screen, template);
    else
-      return svga_resource_create(screen, template);
+      return svga_texture_create(screen, template);
 
 }