Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
gl_debug.h
Go to the documentation of this file.
1#ifndef GL_DEBUG_H
2#define GL_DEBUG_H
3
10void setup_opengl_debug(void);
11
12#ifndef NDEBUG
21void gl_debug_push_group(const char* name);
22
28void gl_debug_pop_group(void);
29#else
30static inline void gl_debug_push_group(const char* name)
31{
32 (void)name;
33}
34
35static inline void gl_debug_pop_group(void)
36{
37}
38#endif
39
40#endif /* GL_DEBUG_H */
void gl_debug_pop_group(void)
Pop the current debug group from the OpenGL debug stack.
Definition gl_debug.c:165
void setup_opengl_debug(void)
Configures OpenGL debug callback.
Definition gl_debug.c:137
void gl_debug_push_group(const char *name)
Push a named debug group onto the OpenGL debug stack.
Definition gl_debug.c:160