Marc-André Lureau 6cdcf88107 ui/console: fix texture leak when calling surface_gl_create_texture()
Make surface_gl_create_texture() idempotent: if the surface is already
bound to a texture, do not create a new one.

This fixes texture leaks when there are multiple DBus listeners, for
example.

Reported-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220214201337.1814787-3-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2022-03-04 11:28:37 +01:00
..
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2020-12-10 12:15:18 -05:00
2020-08-21 06:30:21 -04:00
2021-12-21 10:50:22 +04:00
2021-01-23 15:55:07 -05:00
2022-01-13 10:46:33 +01:00
2021-05-21 09:42:44 +02:00