summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-05 17:42:38 +0000
committerKeith Whitwell <[email protected]>2009-11-05 17:42:38 +0000
commita70e6178d4841f490ff318b6017a1ddacfadf752 (patch)
tree7ee75135d9702c173789376d2039addbab425483 /src/gallium
parent205871c76ad2e655a9180900359d8f9ac690a912 (diff)
i965g: correct size of surf_bo array
Diffstat (limited to 'src/gallium')
-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;