noop: change var type to silence warning
authorBrian Paul <brianp@vmware.com>
Wed, 12 Jan 2011 21:39:24 +0000 (14:39 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Jan 2011 00:55:44 +0000 (17:55 -0700)
src/gallium/drivers/noop/noop_pipe.c

index 8c9efc2f5368a8bc50108ca2fa813f750f70859c..3680f4622da82339a792a786ab386568f8495832 100644 (file)
@@ -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);