src/opengl_debug_group.cpp
//Wrap the calls to push/pop debug group in regular functions that will always work
Wrap the calls to push/pop debug group in regular functions that will always work
Wrap the calls to push / pop debug group in regular functions that will always work
inline void push_opengl_debug_group(const char* name)
{
  if(glPushDebugGroup) 
    glPushDebugGroup(GL_DEBUG_SOURCE_THIRD_PARTY, GLsizei(0), GLsizei(std::strlen(name)), name);
}
inline void push_opengl_debug_group ( const char * name ) { if ( glPushDebugGroup ) glPushDebugGroup ( GL_DEBUG_SOURCE_THIRD_PARTY , GLsizei ( 0 ) , GLsizei ( std :: strlen ( name ) ) , name ) ; }
Wrap the calls to push/pop debug group in regular functions that will always work
Wrap the calls to push / pop debug group in regular functions that will always work
//likely to fail on macOS without this test, as opengl 4.1 shouldn't have access to this