Module: Mesa
Branch: i965g-restart
Commit: a70e6178d4841f490ff318b6017a1ddacfadf752
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a70e6178d4841f490ff318b6017a1ddacfadf752

Author: Keith Whitwell <[email protected]>
Date:   Thu Nov  5 17:42:38 2009 +0000

i965g: correct size of surf_bo array

---

 src/gallium/drivers/i965/brw_context.h |    2 +-
 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 e0c1c57..f853255 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to