On 07.06.2015 23:13, Sergey Isakov wrote:
It is probably not triangle filter but works with similar result so I place it in appropriate places. As well load surface and volume works with DXTn textures now. External conversion is a stub. The best test will be graphical. See two sscreenshots: textures made by DxTex.exe (from DirectXSDK), one with point filter, second with triangle filter my version. PS. About copyright. It is my mathematics. (c)Isakov S.L.
+#ifdef DXTN_COMPESSION_SUPPORTED
- switch (format)
- {
case D3DFMT_DXT1:
if (!wined3d_dxtn_supported()) return NULL;
return encode ? wined3d_dxt1_encode : wined3d_dxt1_decode;
This diff is not against wine-git tree, there's no wined3d_dxtn_supported() funtion in wine.