Commit 3ab12fa4 authored by piman's avatar piman Committed by Commit bot

vulkan: fix release build

BUG=None
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel

Review URL: https://codereview.chromium.org/1900013004

Cr-Commit-Position: refs/heads/master@{#388536}
parent 30be6d55
......@@ -131,6 +131,7 @@ struct VulkanInstance {
return false;
}
#if DCHECK_IS_ON()
// Register our error logging function.
if (debug_report_enabled) {
PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT =
......@@ -163,6 +164,7 @@ struct VulkanInstance {
return false;
}
}
#endif
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment