summaryrefslogtreecommitdiff
path: root/src/i915_render.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-07-23 09:50:17 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-07-23 09:50:17 +0800
commit45962eed51120ff77326c29d72cf8b6cd8a934b5 (patch)
treef8ca11f9099aa854f234955809d33d7947bddfd6 /src/i915_render.c
parentb1af2c0e01c54ef1d40fd0ca1ede29a1dd7ed97b (diff)
Fix a typo in i915 render
Fence setting is in mapstate actually. This fixes rotation in tiled fb case, thanks Keith to report this.
Diffstat (limited to 'src/i915_render.c')
-rw-r--r--src/i915_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index 9d5bc0a6..9c937f23 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -288,7 +288,7 @@ i915_texture_setup(PicturePtr pPict, PixmapPtr pPix, int unit)
((pPix->drawable.height - 1) << MS3_HEIGHT_SHIFT) |
((pPix->drawable.width - 1) << MS3_WIDTH_SHIFT);
if (pI830->tiling)
- pI830->samplerstate[unit * 3 + 1] |= MS3_USE_FENCE_REGS;
+ pI830->mapstate[unit * 3 + 1] |= MS3_USE_FENCE_REGS;
pI830->mapstate[unit * 3 + 2] = ((pitch / 4) - 1) << MS4_PITCH_SHIFT;
pI830->samplerstate[unit * 3 + 0] = (MIPFILTER_NONE <<