dxgi: upgrade Direct3D 10 WARN to a FIXME (try 2)

Austin English austinenglish at gmail.com
Wed Sep 16 21:25:59 CDT 2015


Supersedes patch 114544

Fixes https://bugs.winehq.org/show_bug.cgi?id=39277

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/dxgi/device.c b/dlls/dxgi/device.c
index be247fe..96b1804 100644
--- a/dlls/dxgi/device.c
+++ b/dlls/dxgi/device.c
@@ -23,6 +23,7 @@
 #include "dxgi_private.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(dxgi);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 static inline struct dxgi_device *impl_from_IWineDXGIDevice(IWineDXGIDevice *iface)
 {
@@ -392,7 +393,7 @@ HRESULT dxgi_device_init(struct dxgi_device *device, struct dxgi_device_layer *l
     hr = wined3d_get_device_caps(dxgi_factory->wined3d, dxgi_adapter->ordinal, WINED3D_DEVICE_TYPE_HAL, &caps);
     if (FAILED(hr) || caps.VertexShaderVersion < 4 || caps.PixelShaderVersion < 4)
     {
-        WARN("Direct3D 10 is not supported on this GPU with the current shader backend.\n");
+        FIXME_(winediag)("Direct3D 10 is not supported on this GPU with the current shader backend.\n");
         if (SUCCEEDED(hr))
             hr = E_FAIL;
         IUnknown_Release(device->child_layer);


More information about the wine-patches mailing list