mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
Neil Roberts
1499535fd0
cogl-atlas-texture: Flush the journal before adding a new texture
When the atlas is reorganised we could potentially be moving around textures that are already referenced in the journal. We therefore need to flush the journal otherwise they will be rendered with incorrect texture coordinates. We also need to flush the journal even if we are not reorganizing so that we can rely on the old texture contents remaining in the atlas after migrating a texture out.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%