mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
renderer-native: Adjust to StageView memory handling changes
ClutterStageView now takes ownership of the :framebuffer property, so we need to release our own reference.
This commit is contained in:
parent
aebd5ba6e0
commit
de1464f88f
@ -1022,6 +1022,7 @@ meta_renderer_native_create_legacy_view (MetaRendererNative *renderer_native)
|
||||
"layout", &view_layout,
|
||||
"framebuffer", framebuffer,
|
||||
NULL);
|
||||
cogl_object_unref (framebuffer);
|
||||
|
||||
meta_onscreen_native_set_view (onscreen, view);
|
||||
|
||||
@ -1056,6 +1057,7 @@ meta_renderer_native_create_view (MetaRenderer *renderer,
|
||||
"framebuffer", framebuffer,
|
||||
"monitor-info", monitor_info,
|
||||
NULL);
|
||||
cogl_object_unref (framebuffer);
|
||||
|
||||
meta_onscreen_native_set_view (onscreen, view);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user