|
|
@@ -2168,6 +2168,13 @@ bool Graphics::CreateDevice(int width, int height, int multiSample)
|
|
|
// (the application will switch manually if it wants to)
|
|
|
dxgiFactory->MakeWindowAssociation(GetWindowHandle(window_), DXGI_MWA_NO_ALT_ENTER);
|
|
|
|
|
|
+#ifdef URHO3D_LOGGING
|
|
|
+ DXGI_ADAPTER_DESC desc;
|
|
|
+ dxgiAdapter->GetDesc(&desc);
|
|
|
+ String adapterDesc(desc.Description);
|
|
|
+ URHO3D_LOGINFO("Adapter used " + adapterDesc);
|
|
|
+#endif
|
|
|
+
|
|
|
dxgiFactory->Release();
|
|
|
dxgiAdapter->Release();
|
|
|
dxgiDevice->Release();
|