1
0
Fork 0
mutter-performance-source/cogl
Marco Trevisan (Treviño) 6f489292b9 cogl: Do not store the XVisualInfo
We were leaking one instance because _cogl_winsys_egl_context_created()
could be potentially be called twice (via cogl_display_setup() one as
part of cogl_renderer_check_onscreen_template() and the other when
called from clutter_backend_do_real_create_context()), and so we'd ended
up overwriting the reference we had.

However, we really didn't use it anywhere and once used to call the
relevant functions it's just useless.

So let's just keep it as local variable

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3788>
(cherry picked from commit bcec6df78e)
2024-06-28 21:18:01 +02:00
..
cogl cogl: Do not store the XVisualInfo 2024-06-28 21:18:01 +02:00
cogl-pango build: Make exported package in gir consistent 2024-03-13 12:52:41 +00:00
meson.build cogl: Move cairo dependency to cogl-pango 2024-01-27 10:03:15 +00:00