add debug render groups

This commit is contained in:
aap
2021-02-18 12:21:47 +01:00
parent 1a429bb3c4
commit 9db87fc636
21 changed files with 132 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
#pragma once
#if defined(RW_OPENGL)
#define PUSH_RENDERGROUP(str) glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, -1, str)
#define POP_RENDERGROUP() glPopDebugGroup()
#else
#endif
struct GlobalScene
{
RpWorld *world;