[PATCH 5/5] wined3d: Hide WINED3DFMT_R16G16B16A16_UNORM again.

Henri Verbeet hverbeet at codeweavers.com
Wed Aug 19 03:55:39 CDT 2009


This format is broken on some cards. Hide it until we figure out a reliable
way to deal with it.
---
 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 56c9507..23a3723 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2860,7 +2860,6 @@ static BOOL CheckTextureCapability(struct WineD3DAdapter *adapter,
         case WINED3DFMT_A2R10G10B10:
         case WINED3DFMT_R10G10B10A2_UNORM:
         case WINED3DFMT_R16G16_UNORM:
-        case WINED3DFMT_R16G16B16A16_UNORM:
             TRACE_(d3d_caps)("[OK]\n");
             return TRUE;
 
@@ -2973,6 +2972,7 @@ static BOOL CheckTextureCapability(struct WineD3DAdapter *adapter,
             return FALSE;
 
             /* Not supported */
+        case WINED3DFMT_R16G16B16A16_UNORM:
         case WINED3DFMT_A8R3G3B2:
             TRACE_(d3d_caps)("[FAILED]\n"); /* Enable when implemented */
             return FALSE;
-- 
1.6.0.6




More information about the wine-patches mailing list