mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00: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->dummy_surface,
|
||||||
cogl_display_egl->egl_context))
|
cogl_display_egl->egl_context))
|
||||||
{
|
{
|
||||||
_cogl_set_error (error, COGL_WINSYS_ERROR,
|
g_set_error (error, COGL_WINSYS_ERROR,
|
||||||
COGL_WINSYS_ERROR_CREATE_CONTEXT,
|
COGL_WINSYS_ERROR_CREATE_CONTEXT,
|
||||||
"Failed to make context current");
|
"Failed to make context current");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user