Merge branch 'wip/dont-assert-without-evidence' into 'master'

x11: be more verbose when glClientWaitSync behaves unexpectedtly

See merge request GNOME/gtk!2133
This commit is contained in:
Matthias Clasen 2020-06-22 15:47:27 +00:00
commit fb148027d9

View File

@ -648,7 +648,7 @@ on_gl_surface_xevent (GdkGLContext *context,
case GL_TIMEOUT_EXPIRED:
break;
default:
g_assert_not_reached ();
g_error ("glClientWaitSync returned unexpected result: %x", (guint) wait_result);
}
}