summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_context.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-21 22:48:29 +0200
committerLuca Barbieri <[email protected]>2010-08-21 23:09:43 +0200
commit11d27871a79fb7ffcf0e139a8c04d90991969023 (patch)
tree5c7e882e6fdad8411e7cff2518309d04331f43c2 /src/gallium/drivers/nvfx/nvfx_context.h
parent0d96cbe4a5e0a39c17db007f3815868c6a766382 (diff)
nvfx: fix warnings
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.h')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h
index 04447da3e18..83c44ef477c 100644
--- a/src/gallium/drivers/nvfx/nvfx_context.h
+++ b/src/gallium/drivers/nvfx/nvfx_context.h
@@ -312,7 +312,7 @@ extern void nvfx_vertprog_destroy(struct nvfx_context *,
extern void nvfx_push_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info);
/* must WAIT_RING(chan, ncomp + 1) or equivalent beforehand! */
-static inline void nvfx_emit_vtx_attr(struct nouveau_channel* chan, unsigned attrib, float* v, unsigned ncomp)
+static inline void nvfx_emit_vtx_attr(struct nouveau_channel* chan, unsigned attrib, const float* v, unsigned ncomp)
{
switch (ncomp) {
case 4: