summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-27 20:29:49 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-27 20:29:49 +0000
commit5f28d47af17eec8632ea0437066631f2353cecba (patch)
tree6b8bcd20fdf4d890d8b914f34d16f1c2f861d097 /Graphics/GraphicsEngineVulkan
parentUpdated .gitignore (diff)
downloadDiligentCore-5f28d47af17eec8632ea0437066631f2353cecba.tar.gz
DiligentCore-5f28d47af17eec8632ea0437066631f2353cecba.zip
Improved swap chain resize handling on Android
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
index b6337999..e0e27333 100644
--- a/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/SwapChainVkImpl.cpp
@@ -248,6 +248,7 @@ void SwapChainVkImpl::CreateVulkanSwapChain()
// https://community.arm.com/developer/tools-software/graphics/b/blog/posts/appropriate-use-of-surface-rotation
vkPreTransform = surfCapabilities.currentTransform;
m_SwapChainDesc.PreTransform = VkSurfaceTransformFlagToSurfaceTransform(vkPreTransform);
+ LOG_INFO_MESSAGE("Using ", GetSurfaceTransformString(m_SwapChainDesc.PreTransform), " swap chain pretransform");
}
VkExtent2D swapchainExtent = {};