[PATCH] wined3d: Use GL_ARB_texture_mirror_clamp_to_edge when available.

Rico Schüller kgbricola at web.de
Mon Oct 21 14:20:17 CDT 2013


Hi,

this adds GL_ARB_texture_mirror_clamp_to_edge support to wined3d. It is
needed for some intel cards as they support only
GL_ARB_texture_mirror_clamp_to_edge and not ATI_texture_mirror_once.

As wgl.h is a bit out of date, it still uses the
GL_MIRROR_CLAMP_TO_EDGE_ATI instead of GL_MIRROR_CLAMP_TO_EDGE (which is
only available in headers for OpenGL 4.4).

Cheers
Rico

---
 dlls/wined3d/directx.c    | 12 +++++++++---
 dlls/wined3d/wined3d_gl.h |  1 +
 2 Dateien geändert, 10 Zeilen hinzugefügt(+), 3 Zeilen entfernt(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Use-GL_ARB_texture_mirror_clamp_to_edge-when-a.txt
Type: text/x-patch
Size: 3199 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131021/7c3ff7e5/attachment.bin>


More information about the wine-patches mailing list