From be8246a6cb0ebb82ed6498142d3388747d272f86 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 18 Oct 2020 17:14:22 -0400 Subject: [PATCH] gdkglcontext: Fix build with MSVC GLDEBUGPROC callback is defined with APIENTRY which is a windows specific calling convention. That macro expands to nothing when building on other platforms. Fixes: #3268. --- gdk/gdkglcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index 135db30140..5d73080b9b 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -864,7 +864,7 @@ gdk_gl_context_get_use_es (GdkGLContext *context) return priv->use_es > 0; } -static void +static void APIENTRY gl_debug_message_callback (GLenum source, GLenum type, GLuint id,