mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
cogl: Drop _COGL_RETURN_VAL_IF_FAIL macro
This was introduced when the Cogl maintainers tried to move away from GLib. Since we always require it, we can just use `g_return_val_if_fail()` immediately. https://gitlab.gnome.org/GNOME/mutter/merge_requests/629
This commit is contained in:
@ -2810,7 +2810,7 @@ meta_renderer_native_init_onscreen (CoglOnscreen *onscreen,
|
||||
CoglOnscreenEGL *onscreen_egl;
|
||||
MetaOnscreenNative *onscreen_native;
|
||||
|
||||
_COGL_RETURN_VAL_IF_FAIL (cogl_display_egl->egl_context, FALSE);
|
||||
g_return_val_if_fail (cogl_display_egl->egl_context, FALSE);
|
||||
|
||||
onscreen->winsys = g_slice_new0 (CoglOnscreenEGL);
|
||||
onscreen_egl = onscreen->winsys;
|
||||
|
Reference in New Issue
Block a user