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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue