From f0c514a667a92a8297f2b85eeaaa41ba43966d48 Mon Sep 17 00:00:00 2001 From: msiglreith Date: Thu, 30 Apr 2020 15:48:01 +0200 Subject: [PATCH] Fix release build --- piet-gpu-hal/src/vulkan.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/piet-gpu-hal/src/vulkan.rs b/piet-gpu-hal/src/vulkan.rs index 587f0a6..9688f18 100644 --- a/piet-gpu-hal/src/vulkan.rs +++ b/piet-gpu-hal/src/vulkan.rs @@ -65,7 +65,6 @@ pub struct QueryPool { #[derive(Clone, Copy)] pub struct MemFlags(vk::MemoryPropertyFlags); -#[cfg(debug_assertions)] unsafe extern "system" fn vulkan_debug_callback( message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, message_type: vk::DebugUtilsMessageTypeFlagsEXT,