[PATCH 5/5] ddraw: Enumerate DXT2 and DXT4

Stefan Dösinger stefan at codeweavers.com
Thu Sep 5 03:42:15 CDT 2013


Yes, we don't actually support those, but that's wined3d's problem, not
ddraw's.
---
 dlls/ddraw/device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 449b5b8..9be17c1 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -1073,7 +1073,9 @@ static HRESULT d3d_device7_EnumTextureFormats(IDirect3DDevice7 *iface,
         WINED3DFMT_P8_UINT,
         /* FOURCC codes */
         WINED3DFMT_DXT1,
+        WINED3DFMT_DXT2,
         WINED3DFMT_DXT3,
+        WINED3DFMT_DXT4,
         WINED3DFMT_DXT5,
     };
 
-- 
1.8.1.5




More information about the wine-patches mailing list