From 7b2cf6383aaa6c8421049a211f6375882893eec8 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Wed, 3 Jun 2026 23:19:12 +0200 Subject: [PATCH] Allow AURORA_GFX_DEBUG_GROUPS to be set from CMake individually So that I can do target_compile_definitions(aurora_gx PRIVATE AURORA_GFX_DEBUG_GROUPS) instead of needing to enable DEBUG --- include/aurora/gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/aurora/gfx.h b/include/aurora/gfx.h index af1e83a704..61388d79a5 100644 --- a/include/aurora/gfx.h +++ b/include/aurora/gfx.h @@ -9,7 +9,7 @@ extern "C" { #include "stdint.h" #endif -#ifndef NDEBUG +#if !defined(NDEBUG) && !defined(AURORA_GFX_DEBUG_GROUPS) #define AURORA_GFX_DEBUG_GROUPS #endif