Module: Mesa Branch: gallium-resources Commit: d040daff0642dd791ac38e9b353dc251b03fc873 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d040daff0642dd791ac38e9b353dc251b03fc873
Author: Keith Whitwell <[email protected]> Date: Wed Apr 7 17:25:58 2010 +0100 nvfx: fix compiler warning --- src/gallium/drivers/nvfx/nvfx_context.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c index 34eb8cb..61f5590 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.c +++ b/src/gallium/drivers/nvfx/nvfx_context.c @@ -3,6 +3,7 @@ #include "nvfx_context.h" #include "nvfx_screen.h" +#include "nvfx_resource.h" static void nvfx_flush(struct pipe_context *pipe, unsigned flags, @@ -73,7 +74,7 @@ nvfx_create(struct pipe_screen *pscreen, void *priv) nvfx_init_query_functions(nvfx); nvfx_init_surface_functions(nvfx); nvfx_init_state_functions(nvfx); - nvfx_init_resource_functions(nvfx); + nvfx_init_resource_functions(&nvfx->pipe); /* Create, configure, and install fallback swtnl path */ nvfx->draw = draw_create(); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
