diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-03-02 18:40:03 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-03-02 18:40:03 -0800 |
commit | 4240987cecdaaaeb2d6188f7c83ff4cb8e670c59 (patch) | |
tree | af2c4ab200f6f7bbcebee33a4c1666a27e07d452 /src/gallium/drivers/r300/r300_context.h | |
parent | ddccf7797425097ee6562290d3476075c38220b0 (diff) | |
download | external_mesa3d-4240987cecdaaaeb2d6188f7c83ff4cb8e670c59.zip external_mesa3d-4240987cecdaaaeb2d6188f7c83ff4cb8e670c59.tar.gz external_mesa3d-4240987cecdaaaeb2d6188f7c83ff4cb8e670c59.tar.bz2 |
r300g: Make velem CSO actually work.
glxgears runs again.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 0ee0ab4..f372743 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -249,7 +249,7 @@ struct r300_vertex_info { struct r300_velems_state { unsigned count; - struct pipe_vertex_element velem[]; + struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; }; extern struct pipe_viewport_state r300_viewport_identity; |