summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-04-07 17:25:58 +0100
committerKeith Whitwell <keithw@vmware.com>2010-04-07 17:25:58 +0100
commitd040daff0642dd791ac38e9b353dc251b03fc873 (patch)
treee3e93b6f6c85e97e36d311bbf61d1673bc87e0cd
parent49ec01dffb8e99ab3ff8f856287db7b4df3efed6 (diff)
nvfx: fix compiler warning
-rw-r--r--src/gallium/drivers/nvfx/nvfx_context.c3
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 34eb8cb23b..61f55907e0 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();