Remove re-shadowed variable

Drops a call to get_default_backend

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3528>
This commit is contained in:
Bilal Elmoussaoui 2024-12-30 14:11:11 +01:00 committed by Marge Bot
parent b3f5f9601b
commit 0e92689801

View File

@ -291,8 +291,6 @@ setup_framebuffers (StThemeNodeTransition *transition,
{ {
if (G_UNLIKELY (pipeline_template == NULL)) if (G_UNLIKELY (pipeline_template == NULL))
{ {
CoglContext *ctx =
clutter_backend_get_cogl_context (clutter_get_default_backend ());
pipeline_template = cogl_pipeline_new (ctx); pipeline_template = cogl_pipeline_new (ctx);
cogl_pipeline_set_layer_combine (pipeline_template, 0, cogl_pipeline_set_layer_combine (pipeline_template, 0,