cogl: Port Bitmap away from CoglObject
We still need to use set_qdata_full as CoglBitmapPixbuf would free the data itself by unrefing the pixbuf Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3193>
This commit is contained in:

committed by
Marge Bot

parent
3c6c6a0ea5
commit
c1e6948e42
@ -342,7 +342,7 @@ test_utils_texture_new_from_data (CoglContext *ctx,
|
||||
|
||||
tex = test_utils_texture_new_from_bitmap (bmp, flags, TRUE);
|
||||
|
||||
cogl_object_unref (bmp);
|
||||
g_object_unref (bmp);
|
||||
|
||||
return tex;
|
||||
}
|
||||
|
Reference in New Issue
Block a user