From 1043a046732383e67aba8888694d332fa21363a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20D=C3=B6singer?= Date: Fri, 15 Aug 2008 13:49:20 +0200 Subject: [PATCH] wined3d: Disable D3DFMT_A4L4. --- dlls/wined3d/directx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 6fe5374dd54..42b73889e89 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2228,11 +2228,15 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DDEVTYPE DeviceType, WINE */ case WINED3DFMT_L8: case WINED3DFMT_A8L8: - case WINED3DFMT_A4L4: case WINED3DFMT_L16: TRACE_(d3d_caps)("[OK]\n"); return TRUE; + /* Not supported on Windows, thus disabled */ + case WINED3DFMT_A4L4: + TRACE_(d3d_caps)("[FAILED] - not supported on windows\n"); + return FALSE; + /***** * Supported: Depth/Stencil formats */ -- 2.11.4.GIT