add debug render groups
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user