Stefan Dösinger : wined3d: Disable D3DFMT_A2W10V10U10.

Alexandre Julliard julliard at winehq.org
Mon Aug 25 06:21:31 CDT 2008


Module: wine
Branch: master
Commit: ec633bf789fce42b59eaca805fefd582becddd4d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ec633bf789fce42b59eaca805fefd582becddd4d

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Aug 15 15:08:29 2008 +0200

wined3d: Disable D3DFMT_A2W10V10U10.

---

 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 42b7388..5120c5e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2261,7 +2261,6 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DDEVTYPE DeviceType, WINE
         case WINED3DFMT_Q8W8V8U8:
         case WINED3DFMT_V16U16:
         case WINED3DFMT_W11V11U10:
-        case WINED3DFMT_A2W10V10U10:
             getFormatDescEntry(CheckFormat, &GLINFO_LOCATION, &glDesc);
             if(glDesc->conversion_group == WINED3DFMT_UNKNOWN) {
                 /* We have a GL extension giving native support */
@@ -2301,6 +2300,7 @@ static BOOL CheckTextureCapability(UINT Adapter, WINED3DDEVTYPE DeviceType, WINE
         case WINED3DFMT_INDEX16:
         case WINED3DFMT_INDEX32:
         case WINED3DFMT_Q16W16V16U16:
+        case WINED3DFMT_A2W10V10U10:
             TRACE_(d3d_caps)("[FAILED]\n"); /* Enable when implemented */
             return FALSE;
 




More information about the wine-cvs mailing list