Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: gpu/vulkan/vulkan_implementation.cc

Issue 1900013004: vulkan: fix release build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refptr_overload
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_implementation.cc
diff --git a/gpu/vulkan/vulkan_implementation.cc b/gpu/vulkan/vulkan_implementation.cc
index db6a3d52de815d9a5240c4dcc2e80c5f069f45c4..9a7159409258186a5ccbedd8bc1502c0bf256f39 100644
--- a/gpu/vulkan/vulkan_implementation.cc
+++ b/gpu/vulkan/vulkan_implementation.cc
@@ -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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698