🔨 chore(render_core.cpp): revert moving the warning to Makefile

This commit is contained in:
xtrm
2024-04-23 20:33:11 +02:00
parent 3b4a1de9f3
commit 33872806a1
2 changed files with 10 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/17 23:33:34 by maldavid #+# #+# */
/* Updated: 2024/04/23 20:09:14 by kiroussa ### ########.fr */
/* Updated: 2024/04/23 20:32:54 by kiroussa ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,6 +16,14 @@
#include <renderer/core/render_core.h>
#include <renderer/command/vk_cmd_buffer.h>
#ifdef DEBUG
#ifdef MLX_COMPILER_MSVC
#pragma NOTE("MLX is being compiled in debug mode, this activates Vulkan's validation layers and debug messages which may impact rendering performances")
#else
#warning "MLX is being compiled in debug mode, this activates Vulkan's validation layers and debug messages which may impact rendering performances"
#endif
#endif
namespace mlx
{
namespace RCore