summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-03-02 18:40:03 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-03-02 18:40:03 -0800
commit4240987cecdaaaeb2d6188f7c83ff4cb8e670c59 (patch)
treeaf2c4ab200f6f7bbcebee33a4c1666a27e07d452 /src/gallium/drivers/r300/r300_context.h
parentddccf7797425097ee6562290d3476075c38220b0 (diff)
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.h2
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 0ee0ab47a6..f372743c5b 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;