summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-10 17:42:28 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-10 17:42:28 +0200
commitbb7205895e3d29f42f261cd21a4f5971fdc28075 (patch)
tree358c4ec8dab7f8c0b6ebd819589fda765f1b58c6 /src/gallium/drivers/i965
parent804daedd753d18484557bf185a4f82d66315bfae (diff)
i965g: fix resource creation recursion bug
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_resource.c b/src/gallium/drivers/i965/brw_resource.c
index d601f42dd1..069a12b27f 100644
--- a/src/gallium/drivers/i965/brw_resource.c
+++ b/src/gallium/drivers/i965/brw_resource.c
@@ -12,7 +12,7 @@ brw_resource_create(struct pipe_screen *screen,
if (template->target == PIPE_BUFFER)
return brw_buffer_create(screen, template);
else
- return brw_resource_create(screen, template);
+ return brw_texture_create(screen, template);
}