summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-12 14:39:24 -0700
committerBrian Paul <brianp@vmware.com>2011-01-12 17:55:44 -0700
commit4d96af933710c74b3ccf3f24ee7d62e57f330bba (patch)
tree5c8a971286ee7a04ccb5cc88e42e2270bae6a9db /src/gallium/drivers/noop
parentb076551e3bf03b9710f4d795e3490ac7ccfd5a9a (diff)
noop: change var type to silence warning
Diffstat (limited to 'src/gallium/drivers/noop')
-rw-r--r--src/gallium/drivers/noop/noop_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/noop/noop_pipe.c b/src/gallium/drivers/noop/noop_pipe.c
index 8c9efc2f536..3680f4622da 100644
--- a/src/gallium/drivers/noop/noop_pipe.c
+++ b/src/gallium/drivers/noop/noop_pipe.c
@@ -124,7 +124,7 @@ static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *scree
struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen;
struct pipe_screen *oscreen = noop_screen->oscreen;
struct pipe_resource *result;
- struct noop_resource *noop_resource;
+ struct pipe_resource *noop_resource;
result = oscreen->resource_from_handle(oscreen, templ, handle);
noop_resource = noop_resource_create(screen, result);