diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-27 17:41:55 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-27 17:41:55 -0600 |
commit | 39038c11699bbc9baab744542e96d54e91cb452a (patch) | |
tree | 6c59c1e9fd85bb9edcbae29ad4b10acacd6110bb /src/mesa | |
parent | 37da2d685102ab5a706e0634fc55c60229598faa (diff) |
gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS
The later follows the naming scheme of other limits.
Keep the old definition until all possible usage is updated.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 20af90df7d..4aca3311b7 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -606,7 +606,7 @@ st_feedback_draw_vbo(GLcontext *ctx, /* * unmap vertex/index buffers */ - for (i = 0; i < PIPE_ATTRIB_MAX; i++) { + for (i = 0; i < PIPE_MAX_ATTRIBS; i++) { if (draw->vertex_buffer[i].buffer) { pipe->winsys->buffer_unmap(pipe->winsys, draw->vertex_buffer[i].buffer); |