summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-04-15 13:25:28 +1000
committerBen Skeggs <[email protected]>2008-04-15 13:25:28 +1000
commit7d2085bd7d9378703bfff3d974536ff5e9fd9b30 (patch)
tree2c6f5410eb0462b2d16466128b5c8e1124a10b45 /src/gallium/drivers/nv40
parent276e177dfb644c60af6247598cda6c1c49dfea7b (diff)
nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBS
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.h b/src/gallium/drivers/nv40/nv40_context.h
index 436351b6bcc..2f10540ff0c 100644
--- a/src/gallium/drivers/nv40/nv40_context.h
+++ b/src/gallium/drivers/nv40/nv40_context.h
@@ -151,9 +151,9 @@ struct nv40_context {
unsigned nr_samplers;
unsigned nr_textures;
unsigned dirty_samplers;
- struct pipe_vertex_buffer vtxbuf[PIPE_ATTRIB_MAX];
+ struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS];
unsigned vtxbuf_nr;
- struct pipe_vertex_element vtxelt[PIPE_ATTRIB_MAX];
+ struct pipe_vertex_element vtxelt[PIPE_MAX_ATTRIBS];
unsigned vtxelt_nr;
};