Cleanup: warning with new glew

This commit is contained in:
Campbell Barton 2015-10-11 12:54:14 +11:00
parent 93bc81f495
commit 3748bbf2d9
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ const char* gpuErrorString(GLenum err)
static void APIENTRY gpu_debug_proc(
GLenum source, GLenum type, GLuint UNUSED(id),
GLenum UNUSED(severity), GLsizei UNUSED(length),
const GLchar *message, GLvoid *UNUSED(userParm))
const GLchar *message, const GLvoid *UNUSED(userParm))
{
if (source == GL_DEBUG_SOURCE_API && type == GL_DEBUG_TYPE_ERROR) {
fprintf(stderr, "GL: %s\n", message);