mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-13 07:33:34 +00:00
fixing release compilation issue
This commit is contained in:
@@ -7,6 +7,10 @@ namespace mlx
|
||||
{
|
||||
constexpr const int MAX_FRAMES_IN_FLIGHT = 3;
|
||||
|
||||
#if defined(DEBUG) && defined(VK_EXT_debug_utils)
|
||||
#define MLX_HAS_DEBUG_UTILS_FUNCTIONS
|
||||
#endif
|
||||
|
||||
class RenderCore
|
||||
{
|
||||
public:
|
||||
@@ -31,12 +35,6 @@ namespace mlx
|
||||
#undef MLX_VULKAN_INSTANCE_FUNCTION
|
||||
#undef MLX_VULKAN_DEVICE_FUNCTION
|
||||
|
||||
#if defined(DEBUG) && defined(VK_EXT_debug_utils)
|
||||
inline static constexpr bool HAS_DEBUG_UTILS_FUNCTIONS = true;
|
||||
#else
|
||||
inline static constexpr bool HAS_DEBUG_UTILS_FUNCTIONS = false;
|
||||
#endif
|
||||
|
||||
~RenderCore();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user