X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=init.cpp;h=ce2ce5009c3b7412ea1d181c09c64260653bac8d;hp=44dd7231011d6edccd6988291dee26ff0f49f291;hb=f909bfe0621e8c844695ef327b71457893633cae;hpb=f34b1c36acd27944f00885edfc55363432bfec8e diff --git a/init.cpp b/init.cpp index 44dd723..ce2ce50 100644 --- a/init.cpp +++ b/init.cpp @@ -351,6 +351,18 @@ double get_glsl_version() return glsl_version; } +void APIENTRY debug_callback(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const char *message, + const void *userParam) +#ifdef __GNUC__ + __attribute__((unused)) +#endif +; + void APIENTRY debug_callback(GLenum source, GLenum type, GLuint id,