add debug render groups

This commit is contained in:
aap 2021-02-18 12:21:52 +01:00
parent bb8b823c30
commit 996772faf2
21 changed files with 136 additions and 1 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;