forked from AuroraMiddleware/gtk
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:
parent
e9eb385f25
commit
be8246a6cb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user