Cleanup: warning with new glew
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user