[PATCH] WineD3D: Disable D3DFMT_A4L4=0A=
unknown (none)
stefan at .
Fri Aug 15 13:49:20 CDT 2008
=0A=
It is not supported on Windows, and it needs load time conversion, so I =
think=0A=
it is best to turn it off.=0A=
---=0A=
dlls/wined3d/directx.c | 6 +++++-=0A=
1 files changed, 5 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c=0A=
index c55d66c..c01e3a0 100644=0A=
--- a/dlls/wined3d/directx.c=0A=
+++ b/dlls/wined3d/directx.c=0A=
@@ -2227,11 +2227,15 @@ static BOOL CheckTextureCapability(UINT Adapter, =
WINED3DDEVTYPE DeviceType, WINE=0A=
*/=0A=
case WINED3DFMT_L8:=0A=
case WINED3DFMT_A8L8:=0A=
- case WINED3DFMT_A4L4:=0A=
case WINED3DFMT_L16:=0A=
TRACE_(d3d_caps)("[OK]\n");=0A=
return TRUE;=0A=
=0A=
+ /* Not supported on Windows, thus disabled */=0A=
+ case WINED3DFMT_A4L4:=0A=
+ TRACE_(d3d_caps)("[FAILED] - not supported on windows\n");=0A=
+ return FALSE;=0A=
+=0A=
/*****=0A=
* Supported: Depth/Stencil formats=0A=
*/=0A=
-- =0A=
1.5.6.4=0A=
=0A=
------=_NextPart_000_0010_01C9046F.81094880--
More information about the wine-patches
mailing list