clutter/color-state: Pass the ClutterContext when constructing
This will be used to cache pipeline snippets shared by multiple color states. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433>
This commit is contained in:

committed by
Sebastian Wick

parent
4a07242fed
commit
d7bbc9712f
@ -358,7 +358,9 @@ meta_stage_new (MetaBackend *backend)
|
||||
MetaStage *stage;
|
||||
MetaMonitorManager *monitor_manager;
|
||||
|
||||
stage = g_object_new (META_TYPE_STAGE, NULL);
|
||||
stage = g_object_new (META_TYPE_STAGE,
|
||||
"context", meta_backend_get_clutter_context (backend),
|
||||
NULL);
|
||||
stage->backend = backend;
|
||||
|
||||
monitor_manager = meta_backend_get_monitor_manager (backend);
|
||||
|
Reference in New Issue
Block a user