mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
cogl-buffer: Stop warning spam running in sw rendering
/etc/gdm/Xsession[731]: Aviso do gerenciador de janelas: Log level 8: g_error_free: assertion `error != NULL' failed https://bugzilla.gnome.org/show_bug.cgi?id=694657 Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 83dbf79986981fac9ec0f2575b7c7cb32f629f0f)
This commit is contained in:
parent
c7e4110731
commit
bd1e3e7642
@ -304,7 +304,8 @@ _cogl_buffer_map_range_for_fill_or_fallback (CoglBuffer *buffer,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
cogl_error_free (ignore_error);
|
if (ignore_error)
|
||||||
|
cogl_error_free (ignore_error);
|
||||||
|
|
||||||
/* If the map fails then we'll use a temporary buffer to fill
|
/* If the map fails then we'll use a temporary buffer to fill
|
||||||
the data and then upload it using cogl_buffer_set_data when
|
the data and then upload it using cogl_buffer_set_data when
|
||||||
|
Loading…
Reference in New Issue
Block a user