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

Zhenyu Wang zhen at kemper.freedesktop.org
Tue Sep 19 12:19:00 EEST 2006


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

New commits:
diff-tree 5adb05f0b82ee3a168142d803ab3434f75cf15a3 (from e3ab89b0327ef6ff790ab53bba29c721aef032cd)
Author: Wang Zhenyu <zhenyu.z.wang at intel.com>
Date:   Tue Sep 19 17:14:05 2006 +0800

    fix default tex wrap mode with clamp
    
    we don't set any 'default' border color,
    default tex wrap mode should be clamp to edge.

diff --git a/src/i915_exa_render.c b/src/i915_exa_render.c
index 3bc2c0b..55d5c94 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_BORDER;
+    CARD32 wrap_mode = TEXCOORDMODE_CLAMP_EDGE;
 
     offset = exaGetPixmapOffset(pPix);
     pitch = exaGetPixmapPitch(pPix);



More information about the xorg-commit mailing list