diff options
author | aap <aap@papnet.eu> | 2021-02-18 13:08:29 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-18 13:08:29 +0100 |
commit | 3457ff48ce2ca0cb7bcda1e8a585e120843095c8 (patch) | |
tree | 884c0d8ceb6b051a2fdac774fad5db4ce8bcdf2a /src/core | |
parent | 146ad3b4a1ece09ebe0df3d3a479d60c4b4b22db (diff) |
d3d9 debug render groups
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.h | 9 |
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() |