summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/i965/brw_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h
index e0c1c57ed77..f853255261d 100644
--- a/src/gallium/drivers/i965/brw_context.h
+++ b/src/gallium/drivers/i965/brw_context.h
@@ -705,7 +705,7 @@ struct brw_context
/** Binding table of pointers to surf_bo entries */
struct brw_winsys_buffer *bind_bo;
- struct brw_winsys_buffer *surf_bo[PIPE_MAX_COLOR_BUFS];
+ struct brw_winsys_buffer *surf_bo[BRW_WM_MAX_SURF];
struct brw_winsys_buffer *prog_bo;
struct brw_winsys_buffer *state_bo;