summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-10 17:42:28 +0200
committerRoland Scheidegger <[email protected]>2010-05-10 17:42:28 +0200
commitbb7205895e3d29f42f261cd21a4f5971fdc28075 (patch)
tree358c4ec8dab7f8c0b6ebd819589fda765f1b58c6 /src/gallium/drivers
parent804daedd753d18484557bf185a4f82d66315bfae (diff)
i965g: fix resource creation recursion bug
Diffstat (limited to 'src/gallium/drivers')
-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 d601f42dd16..069a12b27f7 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);
}