14 lines
808 B
Diff
14 lines
808 B
Diff
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
|
|
index afca0e2..a006e8f 100644
|
|
--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
|
|
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
|
|
@@ -252,7 +252,7 @@ static void emit_cb_offset(GLcontext *ctx, struct radeon_state_atom * atom)
|
|
((rrb->height - 1) << R300_SCISSORS_Y_SHIFT));
|
|
END_BATCH();
|
|
BEGIN_BATCH_NO_AUTOSTATE(16);
|
|
- for (i = 0; i < 4; i++) {
|
|
+ for (i = 0; i < 1; i++) {
|
|
OUT_BATCH_REGSEQ(R300_SC_CLIPRECT_TL_0 + (i * 8), 2);
|
|
OUT_BATCH((0 << R300_CLIPRECT_X_SHIFT) | (0 << R300_CLIPRECT_Y_SHIFT));
|
|
OUT_BATCH(((rrb->width - 1) << R300_CLIPRECT_X_SHIFT) | ((rrb->height - 1) << R300_CLIPRECT_Y_SHIFT));
|