diff options
Diffstat (limited to 'unityplugin')
| -rw-r--r-- | unityplugin/GhostCubeScene/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/unityplugin/GhostCubeScene/CMakeLists.txt b/unityplugin/GhostCubeScene/CMakeLists.txt index 2ce1adf..ebcc3c1 100644 --- a/unityplugin/GhostCubeScene/CMakeLists.txt +++ b/unityplugin/GhostCubeScene/CMakeLists.txt @@ -41,6 +41,8 @@ if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) elseif(PLATFORM_UNIVERSAL_WINDOWS) + # We cannot use genreator expression to add a file because the file name + # must not depend on the configuration set(PLUGIN_REL_DLL ${CMAKE_CURRENT_BINARY_DIR}/GhostCubePlugin_${ARCH}r.dll) set(PLUGIN_DBG_DLL ${CMAKE_CURRENT_BINARY_DIR}/GhostCubePlugin_${ARCH}d.dll) diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp index dd3483f..5d56393 100644 --- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp +++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp @@ -82,7 +82,7 @@ void GhostCubeScene::OnGraphicsInitialized() TexDesc.ClearValue.DepthStencil.Depth = 0.f; pDevice->CreateTexture(TexDesc, TextureData(), &m_pDepthBuffer); - auto deviceType = pDevice->GetDeviceCaps().DevType; + //auto deviceType = pDevice->GetDeviceCaps().DevType; { const auto &SCDesc = m_DiligentGraphics->GetSwapChain()->GetDesc(); auto UseReverseZ = m_DiligentGraphics->UsesReverseZ(); |
