mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
onscreen/native: Explain why surface creation failed in the error message
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3418>
This commit is contained in:
parent
9e4d1f51ee
commit
ee3968981f
@ -1883,7 +1883,7 @@ create_surfaces_gbm (CoglOnscreen *onscreen,
|
||||
{
|
||||
g_set_error (error, COGL_WINSYS_ERROR,
|
||||
COGL_WINSYS_ERROR_CREATE_ONSCREEN,
|
||||
"Failed to allocate surface");
|
||||
"Failed to allocate surface: %s", g_strerror (errno));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user