From: Keith Whitwell Date: Thu, 5 Nov 2009 17:42:38 +0000 (+0000) Subject: i965g: correct size of surf_bo array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a70e6178d4841f490ff318b6017a1ddacfadf752;p=mesa.git i965g: correct size of surf_bo array --- 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;