glcontext: reinstate another missing "!"

A leftover from aa0c22b648.
This commit is contained in:
Benjamin Otte 2021-10-17 18:46:01 +02:00
parent cf7ee82755
commit 79d2a14061

View File

@ -954,7 +954,7 @@ gdk_gl_context_set_required_version (GdkGLContext *context,
#endif
g_return_if_fail (GDK_IS_GL_CONTEXT (context));
g_return_if_fail (gdk_gl_context_is_realized (context));
g_return_if_fail (!gdk_gl_context_is_realized (context));
/* this will take care of the default */
if (major == 0 && minor == 0)