summaryrefslogtreecommitdiffstats
path: root/src/core/main.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-18 13:08:22 +0100
committeraap <aap@papnet.eu>2021-02-18 13:08:22 +0100
commit253021866c266d8cf8d18241d3c3f330bff9ed06 (patch)
tree3f46d73faeab388a4e93553ce4ac0aecf14e2a25 /src/core/main.h
parentfix last commit (diff)
downloadre3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar.gz
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar.bz2
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar.lz
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar.xz
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.tar.zst
re3-253021866c266d8cf8d18241d3c3f330bff9ed06.zip
Diffstat (limited to '')
-rw-r--r--src/core/main.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/main.h b/src/core/main.h
index 60ccc116..311c0302 100644
--- a/src/core/main.h
+++ b/src/core/main.h
@@ -1,8 +1,11 @@
#pragma once
-#if defined(RW_OPENGL)
-#define PUSH_RENDERGROUP(str) glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, -1, str)
-#define POP_RENDERGROUP() glPopDebugGroup()
+#ifndef FINAL
+// defined in RwHelpder.cpp
+void PushRendergroup(const char *name);
+void PopRendergroup(void);
+#define PUSH_RENDERGROUP(str) PushRendergroup(str)
+#define POP_RENDERGROUP() PopRendergroup()
#else
#define PUSH_RENDERGROUP(str)
#define POP_RENDERGROUP()