summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-19 19:12:49 +0100
committerJakob Bornecrantz <[email protected]>2010-04-19 21:42:49 +0100
commit2a5667a0082232b63a957841c4ae45a88860955e (patch)
treeffb414f0d221031c037331257388c42355e48c0c /src/gallium/drivers
parent0e4f0e8725cd93fc1e51e4caa09aadf340add11a (diff)
svga: Don't recurse
Diffstat (limited to 'src/gallium/drivers')
-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 15258c1966b..b76035333f6 100644
--- a/src/gallium/drivers/svga/svga_resource.c
+++ b/src/gallium/drivers/svga/svga_resource.c
@@ -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);
}