From bb7205895e3d29f42f261cd21a4f5971fdc28075 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Mon, 10 May 2010 17:42:28 +0200 Subject: i965g: fix resource creation recursion bug --- src/gallium/drivers/i965/brw_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/i965') 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); } -- cgit v1.2.3