Cleanup: warning with new glew
This commit is contained in:
parent
93bc81f495
commit
3748bbf2d9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue