diff options
author | Keith Whitwell <[email protected]> | 2008-05-29 12:38:49 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-29 12:38:49 +0100 |
commit | bb2e13b9e82b68ec3b9fc56a4c35e7ead8fd138f (patch) | |
tree | 65f387b426dcd113f602d9a51ef6fc8d1652200f /src/gallium/auxiliary/draw/draw_context.h | |
parent | 82605d7bcd533d7c96cc619c45970efd7229dc3b (diff) |
draw: make sure constant buffer data is aligned before passing to aos.c
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index 8dd03cb79ef..b8f2bfa3327 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -133,7 +133,8 @@ void draw_set_mapped_vertex_buffer(struct draw_context *draw, unsigned attr, const void *buffer); void draw_set_mapped_constant_buffer(struct draw_context *draw, - const void *buffer); + const void *buffer, + unsigned size ); void draw_set_edgeflags( struct draw_context *draw, const unsigned *edgeflag ); |