i965g: correct size of surf_bo array
authorKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 17:42:38 +0000 (17:42 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 17:42:38 +0000 (17:42 +0000)
src/gallium/drivers/i965/brw_context.h

index e0c1c57..f853255 100644 (file)
@@ -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;