[PATCH 4/6] dxgi: Remove useless FIXME() messages about adapter type.

Józef Kucia jkucia at codeweavers.com
Thu Apr 26 07:53:23 CDT 2018


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---

We enumerate and support only HAL adapters in DXGI. The "Ignoring
adapter type" message was printed twice each time a device is created.

---
 dlls/dxgi/device.c | 2 --
 dlls/dxgi/utils.c  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/dlls/dxgi/device.c b/dlls/dxgi/device.c
index c266caea2fc3..5a810fa810f4 100644
--- a/dlls/dxgi/device.c
+++ b/dlls/dxgi/device.c
@@ -422,8 +422,6 @@ HRESULT dxgi_device_init(struct dxgi_device *device, struct dxgi_device_layer *l
         return E_FAIL;
     }
 
-    FIXME("Ignoring adapter type.\n");
-
     hr = wined3d_device_create(dxgi_factory->wined3d, dxgi_adapter->ordinal, WINED3D_DEVICE_TYPE_HAL,
             NULL, 0, 4, wined3d_device_parent, &device->wined3d_device);
     if (FAILED(hr))
diff --git a/dlls/dxgi/utils.c b/dlls/dxgi/utils.c
index 74f0ae0529dc..063ec5a762ac 100644
--- a/dlls/dxgi/utils.c
+++ b/dlls/dxgi/utils.c
@@ -645,8 +645,6 @@ D3D_FEATURE_LEVEL dxgi_check_feature_level_support(struct dxgi_factory *factory,
     WINED3DCAPS caps;
     HRESULT hr;
 
-    FIXME("Ignoring adapter type.\n");
-
     wined3d_mutex_lock();
     hr = wined3d_get_device_caps(factory->wined3d, adapter->ordinal, WINED3D_DEVICE_TYPE_HAL, &caps);
     wined3d_mutex_unlock();
-- 
2.16.1




More information about the wine-devel mailing list