Fix invalid unreference of CoglTexture
cogl_texture_get_data doesn't increase the refcount, so don't try to decrement it. Signed-off-by: Colin Walters <walters@verbum.org> https://bugzilla.gnome.org/show_bug.cgi?id=608512
This commit is contained in:
parent
a8aa0c085f
commit
e3be74a31a
@ -84,7 +84,6 @@ shell_fade_app_icon (ClutterTexture *source)
|
|||||||
|
|
||||||
cogl_texture_get_data (texture, COGL_PIXEL_FORMAT_RGBA_8888_PRE,
|
cogl_texture_get_data (texture, COGL_PIXEL_FORMAT_RGBA_8888_PRE,
|
||||||
rowstride, pixels);
|
rowstride, pixels);
|
||||||
cogl_texture_unref (texture);
|
|
||||||
|
|
||||||
fade_start = width / 2;
|
fade_start = width / 2;
|
||||||
fade_range = width - fade_start;
|
fade_range = width - fade_start;
|
||||||
|
Loading…
Reference in New Issue
Block a user