diff options
author | Ben Skeggs <[email protected]> | 2008-04-15 13:25:28 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-04-15 13:25:28 +1000 |
commit | 7d2085bd7d9378703bfff3d974536ff5e9fd9b30 (patch) | |
tree | 2c6f5410eb0462b2d16466128b5c8e1124a10b45 /src/gallium/drivers/nv10/nv10_vbo.c | |
parent | 276e177dfb644c60af6247598cda6c1c49dfea7b (diff) |
nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBS
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv10/nv10_vbo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv10/nv10_vbo.c b/src/gallium/drivers/nv10/nv10_vbo.c index 3a4f49e1564..2a334e137d9 100644 --- a/src/gallium/drivers/nv10/nv10_vbo.c +++ b/src/gallium/drivers/nv10/nv10_vbo.c @@ -23,7 +23,7 @@ boolean nv10_draw_elements( struct pipe_context *pipe, /* * Map vertex buffers */ - for (i = 0; i < PIPE_ATTRIB_MAX; i++) { + for (i = 0; i < PIPE_MAX_ATTRIBS; i++) { if (nv10->vtxbuf[i].buffer) { void *buf = pipe->winsys->buffer_map(pipe->winsys, @@ -52,7 +52,7 @@ boolean nv10_draw_elements( struct pipe_context *pipe, /* * unmap vertex/index buffers */ - for (i = 0; i < PIPE_ATTRIB_MAX; i++) { + for (i = 0; i < PIPE_MAX_ATTRIBS; i++) { if (nv10->vtxbuf[i].buffer) { pipe->winsys->buffer_unmap(pipe->winsys, nv10->vtxbuf[i].buffer); draw_set_mapped_vertex_buffer(draw, i, NULL); |