diff options
-rw-r--r-- | src/gallium/drivers/i965/brw_resource.c | 2 |
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 234300ff12..d601f42dd1 100644 --- a/src/gallium/drivers/i965/brw_resource.c +++ b/src/gallium/drivers/i965/brw_resource.c @@ -24,7 +24,7 @@ brw_resource_from_handle(struct pipe_screen * screen, if (template->target == PIPE_BUFFER) return NULL; else - return brw_resource_from_handle(screen, template, whandle); + return brw_texture_from_handle(screen, template, whandle); } |