From: Roland Scheidegger Date: Mon, 10 May 2010 15:42:28 +0000 (+0200) Subject: i965g: fix resource creation recursion bug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb7205895e3d29f42f261cd21a4f5971fdc28075;p=mesa.git i965g: fix resource creation recursion bug --- 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); }