mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 15:37:00 -05:00
renderer/native: Use g_set_error() instead of _cogl_set_error()
It's even a GError, so lets use the proper API. https://gitlab.gnome.org/GNOME/mutter/merge_requests/622
This commit is contained in:
parent
6dba56223a
commit
1efb32d300
@ -1249,7 +1249,7 @@ meta_renderer_native_egl_context_created (CoglDisplay *cogl_display,
|
||||
cogl_display_egl->dummy_surface,
|
||||
cogl_display_egl->egl_context))
|
||||
{
|
||||
_cogl_set_error (error, COGL_WINSYS_ERROR,
|
||||
g_set_error (error, COGL_WINSYS_ERROR,
|
||||
COGL_WINSYS_ERROR_CREATE_CONTEXT,
|
||||
"Failed to make context current");
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user