=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Change GL internal format for R32_TYPELESS.

Alexandre Julliard julliard at winehq.org
Mon Apr 10 15:37:18 CDT 2017


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Apr 10 12:27:41 2017 +0200

wined3d: Change GL internal format for R32_TYPELESS.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 959635b..0eacc82 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -238,9 +238,9 @@ static const struct wined3d_typed_format_info typed_formats[] =
     {WINED3DFMT_R16G16_SINT,              WINED3DFMT_R16G16_TYPELESS,       "II"},
     {WINED3DFMT_R16G16_FLOAT,             WINED3DFMT_R16G16_TYPELESS,       "FF"},
     {WINED3DFMT_D32_FLOAT,                WINED3DFMT_R32_TYPELESS,          "D"},
+    {WINED3DFMT_R32_FLOAT,                WINED3DFMT_R32_TYPELESS,          "F"},
     {WINED3DFMT_R32_UINT,                 WINED3DFMT_R32_TYPELESS,          "U"},
     {WINED3DFMT_R32_SINT,                 WINED3DFMT_R32_TYPELESS,          "I"},
-    {WINED3DFMT_R32_FLOAT,                WINED3DFMT_R32_TYPELESS,          "F"},
     {WINED3DFMT_R24_UNORM_X8_TYPELESS,    WINED3DFMT_R24G8_TYPELESS,        "DX"},
     {WINED3DFMT_X24_TYPELESS_G8_UINT,     WINED3DFMT_R24G8_TYPELESS,        "XS"},
     {WINED3DFMT_D24_UNORM_S8_UINT,        WINED3DFMT_R24G8_TYPELESS,        "DS"},




More information about the wine-cvs mailing list