summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-08-09 11:32:45 -0400
committerJerome Glisse <jglisse@redhat.com>2010-08-09 11:33:25 -0400
commit95fb0bf58dde0b81ce601d3f0477fd1b2a5a28d4 (patch)
tree7567b75c4b9652213384d8aa1fadd43b38ebd4db /src/gallium/drivers/r600/r600_context.h
parent29b7d26401a77ee4f772233b003d942bba59bb63 (diff)
r600g: fix r600 context structure, avoid segfault when no scissor
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index 431f8951b2..c606dbbda3 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -94,7 +94,7 @@ struct r600_context_hw_states {
struct radeon_state *dsa;
struct radeon_state *blend;
struct radeon_state *viewport;
- struct radeon_state *cb[7];
+ struct radeon_state *cb[8];
struct radeon_state *config;
struct radeon_state *cb_cntl;
struct radeon_state *db;