summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-25 13:29:33 +0100
committerMichal Krol <[email protected]>2010-01-28 14:08:03 +0100
commit7c5f255201f42303188137f56ea8acc030444f0e (patch)
treeb924454f0f0c7ca3b7ac1f7c34a546b0582a3f91 /src/gallium/drivers/softpipe/sp_context.c
parent333c035a519a36efd19d2ab227924feb8b0f4c25 (diff)
gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index a3a7825aa18..53133d28888 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -114,7 +114,7 @@ softpipe_destroy( struct pipe_context *pipe )
for (i = 0; i < PIPE_SHADER_TYPES; i++) {
uint j;
- for (j = 0; j < PIPE_MAX_CONSTANT; j++) {
+ for (j = 0; j < PIPE_MAX_CONSTANT_BUFFERS; j++) {
if (softpipe->constants[i][j]) {
pipe_buffer_reference(&softpipe->constants[i][j], NULL);
}