summaryrefslogtreecommitdiff
path: root/src/radeon_textured_videofuncs.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-11-05 09:30:40 +0100
committerMichel Dänzer <michel@daenzer.net>2010-11-05 09:34:19 +0100
commit0c2834e67df6e143a7d15f373faaddca1dda6b18 (patch)
tree0308035b1aaa8b41d7313b7240253626fa18e8f5 /src/radeon_textured_videofuncs.c
parent2a7b080727f61559cf8444c93a5088f4155a8fdf (diff)
Fix incorrect CS size in one textured video path. (Bug #31364)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=31364 .
Diffstat (limited to 'src/radeon_textured_videofuncs.c')
-rw-r--r--src/radeon_textured_videofuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c
index 138dfa3c..a22c416a 100644
--- a/src/radeon_textured_videofuncs.c
+++ b/src/radeon_textured_videofuncs.c
@@ -2181,7 +2181,7 @@ FUNC_NAME(R300PrepareTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
R300_ALU_ALPHA_SEL_C(R300_ALU_ALPHA_0_0)));
}
} else {
- BEGIN_ACCEL(needgamma ? 28 + 33 : 33);
+ BEGIN_ACCEL(needgamma ? 28 + 31 : 31);
/* 2 components */
OUT_ACCEL_REG(R300_RS_COUNT,
((2 << R300_RS_COUNT_IT_COUNT_SHIFT) |