diff options
author | Keith Whitwell <[email protected]> | 2008-12-09 16:54:16 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-12-10 12:52:06 +0000 |
commit | 7519107a9787970f9b3b8ec317a2b4526e217290 (patch) | |
tree | 48e85bfa70a72788a5e422c893c752b0ba1da4ab /src/gallium/auxiliary/draw/draw_context.c | |
parent | 51d9642f74c3f418b2f8a56b4b17c94eb91b39d1 (diff) |
draw: add const qualifiers
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 41a4cba1ddd..74deb44bd28 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -362,7 +362,7 @@ draw_set_mapped_element_buffer_range( struct draw_context *draw, unsigned eltSize, unsigned min_index, unsigned max_index, - void *elements ) + const void *elements ) { draw->pt.user.elts = elements; draw->pt.user.eltSize = eltSize; @@ -374,7 +374,7 @@ draw_set_mapped_element_buffer_range( struct draw_context *draw, void draw_set_mapped_element_buffer( struct draw_context *draw, unsigned eltSize, - void *elements ) + const void *elements ) { draw->pt.user.elts = elements; draw->pt.user.eltSize = eltSize; |