diff options
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_debug.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/opengl/gl_debug.cc b/source/blender/gpu/opengl/gl_debug.cc index 38dd339882d..5c23286c166 100644 --- a/source/blender/gpu/opengl/gl_debug.cc +++ b/source/blender/gpu/opengl/gl_debug.cc @@ -49,13 +49,13 @@ namespace blender::gpu::debug { # define APIENTRY #endif -static void APIENTRY debug_callback(GLenum UNUSED(source), +static void APIENTRY debug_callback(GLenum /*source*/, GLenum type, - GLuint UNUSED(id), + GLuint /*id*/, GLenum severity, - GLsizei UNUSED(length), + GLsizei /*length*/, const GLchar *message, - const GLvoid *UNUSED(userParm)) + const GLvoid * /*userParm*/) { if (ELEM(type, GL_DEBUG_TYPE_PUSH_GROUP, GL_DEBUG_TYPE_POP_GROUP)) { /* The debug layer will emit a message each time a debug group is pushed or popped. |