Add debug handler

This commit is contained in:
numzero
2023-02-27 20:31:51 +03:00
parent 8c521939b9
commit 1f750cd7b2
3 changed files with 15 additions and 0 deletions

View File

@ -397,6 +397,9 @@ private:
ECOLOR_FORMAT ColorFormat;
IContextManager* ContextManager;
void debugCb(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message);
static void APIENTRY debugCb(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam);
};
} // end namespace video