summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2008-02-27 21:26:55 -0500
committerAlex Deucher <alex@botch2.(none)>2008-02-27 21:26:55 -0500
commite521476bb5e2dfabc93747e43eb911a8a101357e (patch)
treec457fb6231599a8b4eb640cea10e1e3a284114d7 /src
parent10db46f11d7e1c055c9ad6034c65ad163dad17dc (diff)
R300/R400: bump up the clip limits for textured video
This allows up to 2560x2560 (hw limit)
Diffstat (limited to 'src')
-rw-r--r--src/radeon_commonfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c
index 4469cd88..c9cd8a95 100644
--- a/src/radeon_commonfuncs.c
+++ b/src/radeon_commonfuncs.c
@@ -209,8 +209,8 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn)
/* clip has offset 1440 */
OUT_ACCEL_REG(R300_SC_CLIP_0_A, ((1088 << R300_CLIP_X_SHIFT) |
(1088 << R300_CLIP_Y_SHIFT)));
- OUT_ACCEL_REG(R300_SC_CLIP_0_B, (((1080 + 2048) << R300_CLIP_X_SHIFT) |
- ((1080 + 2048) << R300_CLIP_Y_SHIFT)));
+ OUT_ACCEL_REG(R300_SC_CLIP_0_B, (((1080 + 2920) << R300_CLIP_X_SHIFT) |
+ ((1080 + 2920) << R300_CLIP_Y_SHIFT)));
} else {
OUT_ACCEL_REG(R300_SC_CLIP_0_A, ((0 << R300_CLIP_X_SHIFT) |
(0 << R300_CLIP_Y_SHIFT)));