[PATCH] WineD3D: Advertise D3DFMT_A16B16G16R16 support=0A=
Stefan Doesinger
stefan at codeweavers.com
Thu Jul 31 15:47:39 CDT 2008
=0A=
I don't see a reason not to do this=0A=
---=0A=
dlls/wined3d/directx.c | 2 +-=0A=
1 files changed, 1 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c=0A=
index 5474a45..17df4b0 100644=0A=
--- a/dlls/wined3d/directx.c=0A=
+++ b/dlls/wined3d/directx.c=0A=
@@ -2207,6 +2207,7 @@ static BOOL CheckTextureCapability(UINT Adapter, =
WINED3DFORMAT CheckFormat)=0A=
case WINED3DFMT_X8B8G8R8:=0A=
case WINED3DFMT_A2R10G10B10:=0A=
case WINED3DFMT_A2B10G10R10:=0A=
+ case WINED3DFMT_A16B16G16R16:=0A=
case WINED3DFMT_G16R16:=0A=
TRACE_(d3d_caps)("[OK]\n");=0A=
return TRUE;=0A=
@@ -2332,7 +2333,6 @@ static BOOL CheckTextureCapability(UINT Adapter, =
WINED3DFORMAT CheckFormat)=0A=
return FALSE;=0A=
=0A=
/* Not supported */=0A=
- case WINED3DFMT_A16B16G16R16:=0A=
case WINED3DFMT_A8R3G3B2:=0A=
TRACE_(d3d_caps)("[FAILED]\n"); /* Enable when implemented =
*/=0A=
return FALSE;=0A=
-- =0A=
1.5.4.5=0A=
=0A=
------=_NextPart_000_0005_01C8F509.12DA8240--
More information about the wine-patches
mailing list