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.
This commit is contained in:
Xavier Claessens 2020-10-18 17:14:22 -04:00
parent e9eb385f25
commit be8246a6cb

View File

@ -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,