src/glcontext.c

changeset 105
2b7f92ff2c15
parent 95
622887f7e954
child 106
895f92cff6b8
--- a/src/glcontext.c	Sat May 03 13:30:04 2025 +0200
+++ b/src/glcontext.c	Sat May 03 13:49:24 2025 +0200
@@ -35,7 +35,7 @@
 static void asc_gl_debug_callback(
         GLenum source, GLenum type, GLuint id, GLenum severity,
         GLsizei length, const GLchar* message,
-        const void* userParam
+        __attribute__((__unused__)) const void* userParam
 ) {
     if (type == GL_DEBUG_TYPE_ERROR) {
         asc_error("OpenGL source = %d, id = %u, type = %d, severity= %d, message = %.*s",

mercurial