gdk: #if => #ifdef

Makes compilers happy
This commit is contained in:
Benjamin Otte 2021-11-03 22:51:39 +01:00
parent 95574f98c4
commit 164d0a5201

View File

@ -255,7 +255,7 @@ static GdkGLAPI
gdk_gl_context_real_realize (GdkGLContext *context,
GError **error)
{
#if HAVE_EGL
#ifdef HAVE_EGL
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
GdkDisplay *display = gdk_gl_context_get_display (context);
EGLDisplay egl_display = gdk_display_get_egl_display (display);