summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_resource.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-19 20:10:57 +0100
committerJakob Bornecrantz <[email protected]>2010-04-19 21:42:49 +0100
commit35d960cc744c374ccaad48c3d80559b59c74e28a (patch)
treecc073fc08ca5df3d275ed10622fb98aa1ba3a9c3 /src/gallium/drivers/svga/svga_resource.c
parentaa857509bd0032f636ebf45bebb143cc6a8e408e (diff)
svga: More don't recurse
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource.c')
-rw-r--r--src/gallium/drivers/svga/svga_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource.c b/src/gallium/drivers/svga/svga_resource.c
index b76035333f6..ba630582e59 100644
--- a/src/gallium/drivers/svga/svga_resource.c
+++ b/src/gallium/drivers/svga/svga_resource.c
@@ -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);
}