Module: wine Branch: master Commit: 7cfaf611d05d46eda680255eb3dda53fe08d9611 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7cfaf611d05d46eda680255eb3...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Oct 6 14:09:12 2010 +0200
ddraw: Don't try to enumerate WINED3DFMT_R8G8B8A8_SNORM.
There is no ddraw equivalent for this format, as ddraw only supports 2 bump channels. Trying to enumerate this format will only lead to a confusing (but correct) ERR message
---
dlls/ddraw/device.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c index 0056a40..720aaa0 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -1122,7 +1122,6 @@ IDirect3DDeviceImpl_7_EnumTextureFormats(IDirect3DDevice7 *iface, WINED3DFMT_R8G8_SNORM, WINED3DFMT_R5G5_SNORM_L6_UNORM, WINED3DFMT_R8G8_SNORM_L8X8_UNORM, - WINED3DFMT_R8G8B8A8_SNORM, WINED3DFMT_R16G16_SNORM, WINED3DFMT_R10G11B11_SNORM, WINED3DFMT_R10G10B10_SNORM_A2_UNORM