Matteo Bruni : wined3d: Check ARB_TEXTURE_COMPRESSION_RGTC for applying the correct fixup.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 30 09:23:15 CDT 2014


Module: wine
Branch: master
Commit: dd923c3029fa4de25b5135c24edc6899c308b563
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dd923c3029fa4de25b5135c24edc6899c308b563

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Oct 29 18:01:50 2014 +0100

wined3d: Check ARB_TEXTURE_COMPRESSION_RGTC for applying the correct fixup.

---

 dlls/wined3d/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index e969fa7..b9d60de 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -2018,7 +2018,7 @@ static void apply_format_fixups(struct wined3d_adapter *adapter, struct wined3d_
          */
     }
 
-    if (gl_info->supported[EXT_TEXTURE_COMPRESSION_RGTC])
+    if (gl_info->supported[ARB_TEXTURE_COMPRESSION_RGTC])
     {
         idx = getFmtIdx(WINED3DFMT_ATI2N);
         gl_info->formats[idx].color_fixup = create_color_fixup_desc(




More information about the wine-cvs mailing list