Skip to content
Snippets Groups Projects
debug.h 463 B
#ifndef MAKE_DEBUG_H_
#define MAKE_DEBUG_H_

#include "config.h"

#if DEBUG

#if DEBUG_GL_OLDER

void GLClearError();

bool GLCheckError();

#endif

#if DEBUG_GL_NEWER

// For more information regarding the callback, use this link: https://www.khronos.org/opengl/wiki/Debug_Output

void GLDebugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam);

#endif

#endif


#endif // MAKE_DEBUG_H_