xf86-video-intel: Branch 'exa' - src/i915_exa_render.c

Zhenyu Wang zhen at kemper.freedesktop.org
Wed Sep 20 04:27:52 EEST 2006


 src/i915_exa_render.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 1681fe6bb041385e5aefb11baa9afd1f614abc5b (from 5adb05f0b82ee3a168142d803ab3434f75cf15a3)
Author: Wang Zhenyu <zhenyu.z.wang at intel.com>
Date:   Wed Sep 20 09:36:02 2006 +0800

    Revert "fix default tex wrap mode with clamp"
    
    oops, we've set border color to all zero, which should
    give us transparent in RepeatNone case.

diff --git a/src/i915_exa_render.c b/src/i915_exa_render.c
index 55d5c94..3bc2c0b 100644
--- a/src/i915_exa_render.c
+++ b/src/i915_exa_render.c
@@ -255,7 +255,7 @@ I915TextureSetup(PicturePtr pPict, Pixma
     I830Ptr pI830 = I830PTR(pScrn);
     CARD32 format, offset, pitch, filter;
     int w, h, i;
-    CARD32 wrap_mode = TEXCOORDMODE_CLAMP_EDGE;
+    CARD32 wrap_mode = TEXCOORDMODE_CLAMP_BORDER;
 
     offset = exaGetPixmapOffset(pPix);
     pitch = exaGetPixmapPitch(pPix);



More information about the xorg-commit mailing list