diff --git a/components/debug/gldebug.cpp b/components/debug/gldebug.cpp index ccf49edd40..a0c7aa6206 100644 --- a/components/debug/gldebug.cpp +++ b/components/debug/gldebug.cpp @@ -42,7 +42,7 @@ either expressed or implied, of the FreeBSD Project. namespace Debug { - void debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) + void GL_APIENTRY debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) { #ifdef GL_DEBUG_OUTPUT std::string srcStr;