diff options
author | numzero <numzer0@yandex.ru> | 2023-02-27 20:31:51 +0300 |
---|---|---|
committer | numzero <numzer0@yandex.ru> | 2023-02-27 20:31:51 +0300 |
commit | 1f750cd7b26348aa799b2ebc9a779f670dba5f4f (patch) | |
tree | 89ed6ac0de01ce87bcd25363740068162d502d1f /source/Irrlicht/OpenGL/Driver.h | |
parent | 8c521939b9a93834df3b1536e1850101f31cb89c (diff) | |
download | irrlicht-1f750cd7b26348aa799b2ebc9a779f670dba5f4f.tar.xz |
Add debug handler
Diffstat (limited to 'source/Irrlicht/OpenGL/Driver.h')
-rw-r--r-- | source/Irrlicht/OpenGL/Driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Irrlicht/OpenGL/Driver.h b/source/Irrlicht/OpenGL/Driver.h index dd2ad89..4920fde 100644 --- a/source/Irrlicht/OpenGL/Driver.h +++ b/source/Irrlicht/OpenGL/Driver.h @@ -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
|