Don't send debug groups to Aurora if not enabled (#1984)

Intended together with https://github.com/encounter/aurora/pull/221
This commit is contained in:
Pieter-Jan Briers
2026-06-04 04:58:35 +02:00
committed by GitHub
parent b7d32918bd
commit 74f20c38e0
3 changed files with 22 additions and 2 deletions
+2 -2
View File
@@ -1996,7 +1996,7 @@ int dDlst_list_c::set(dDlst_base_c**& p_start, dDlst_base_c**& p_end, dDlst_base
return 1;
}
#if TARGET_PC && (TRACY_ENABLE || PARTIAL_DEBUG)
#if DUSK_GFX_DEBUG_GROUPS
static absl::flat_hash_map<std::type_index, const char*> typeDrawNames;
static const char* getTypeDrawName(dDlst_base_c* dlst) {
@@ -2019,7 +2019,7 @@ void dDlst_list_c::draw(dDlst_base_c** p_start, dDlst_base_c** p_end) {
for (; p_start < p_end; p_start++) {
dDlst_base_c* dlst = *p_start;
#if TARGET_PC && (TRACY_ENABLE || PARTIAL_DEBUG)
#if DUSK_GFX_DEBUG_GROUPS
const auto name = getTypeDrawName(dlst);
GXScopedDebugGroup scope(name);
#endif