summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-12-09 16:54:16 +0000
committerKeith Whitwell <[email protected]>2008-12-10 12:52:06 +0000
commit7519107a9787970f9b3b8ec317a2b4526e217290 (patch)
tree48e85bfa70a72788a5e422c893c752b0ba1da4ab /src/gallium/auxiliary/draw/draw_context.h
parent51d9642f74c3f418b2f8a56b4b17c94eb91b39d1 (diff)
draw: add const qualifiers
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h
index 3eeb4535311..1d40c6c3bef 100644
--- a/src/gallium/auxiliary/draw/draw_context.h
+++ b/src/gallium/auxiliary/draw/draw_context.h
@@ -123,11 +123,11 @@ draw_set_mapped_element_buffer_range( struct draw_context *draw,
unsigned eltSize,
unsigned min_index,
unsigned max_index,
- void *elements );
+ const void *elements );
void draw_set_mapped_element_buffer( struct draw_context *draw,
unsigned eltSize,
- void *elements );
+ const void *elements );
void draw_set_mapped_vertex_buffer(struct draw_context *draw,
unsigned attr, const void *buffer);