Fix windows release and a warning issued in Jenkins

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-07-16 14:24:55 -07:00
parent 47f43c2e35
commit 83c5028af6
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -53,10 +53,9 @@ private:
AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING
static XmlNodeRef m_node;
AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
static QString m_title;
static QVariant s_pendingPut;
AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
QWidget* m_parent;
QTimer m_putDebounce;
@@ -267,7 +267,7 @@ namespace AZ
info.pImageIndices = &imageIndex;
info.pResults = nullptr;
VkResult result = vkQueuePresentKHR(vulkanQueue->GetNativeQueue(), &info);
[[maybe_unused]] VkResult result = vkQueuePresentKHR(vulkanQueue->GetNativeQueue(), &info);
// Resizing window cause recreation of SwapChain after calling this method,
// so VK_SUBOPTIMAL_KHR or VK_ERROR_OUT_OF_DATE_KHR should not happen at this point.