mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Neil Roberts
51b090541a
cogl-texture-2d-sliced: Don't create the slice textures twice
Both of the cogl_texture_2d_sliced_new functions called the slices_create function which creates the underlying GL textures. However this was also called by init_base so the textures would end up being created twice. This would make it leak the GL textures and the arrays which point to them.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%