Skip to content

Commit 04cd3b3

Browse files
authored
Allow AURORA_GFX_DEBUG_GROUPS to be set from CMake individually (#221)
So that I can do target_compile_definitions(aurora_gx PRIVATE AURORA_GFX_DEBUG_GROUPS) instead of needing to enable DEBUG
1 parent ad61647 commit 04cd3b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/aurora/gfx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extern "C" {
99
#include "stdint.h"
1010
#endif
1111

12-
#ifndef NDEBUG
12+
#if !defined(NDEBUG) && !defined(AURORA_GFX_DEBUG_GROUPS)
1313
#define AURORA_GFX_DEBUG_GROUPS
1414
#endif
1515

0 commit comments

Comments
 (0)