summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-18 12:23:33 +0100
committeraap <aap@papnet.eu>2021-02-18 12:23:33 +0100
commit146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db (patch)
tree73cb579ab0f013b04ad35bb4e93f072bf4834c3b
parentadd debug render groups (diff)
downloadre3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar.gz
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar.bz2
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar.lz
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar.xz
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.tar.zst
re3-146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db.zip
-rw-r--r--src/core/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.h b/src/core/main.h
index 787d4f52..60ccc116 100644
--- a/src/core/main.h
+++ b/src/core/main.h
@@ -4,6 +4,8 @@
#define PUSH_RENDERGROUP(str) glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, -1, str)
#define POP_RENDERGROUP() glPopDebugGroup()
#else
+#define PUSH_RENDERGROUP(str)
+#define POP_RENDERGROUP()
#endif
struct GlobalScene