Austin English : dxgi: Upgrade Direct3D 10 WARN to a FIXME.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 18 14:31:17 CDT 2015


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Sep 16 21:25:59 2015 -0500

dxgi: Upgrade Direct3D 10 WARN to a FIXME.

---

 dlls/dxgi/device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/dxgi/device.c b/dlls/dxgi/device.c
index ae07bac..ecb9d91 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)
 {
@@ -398,7 +399,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-cvs mailing list