mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
80bae51c01
Previously when _cogl_atlas_texture_migrate_out_of_atlas is called it would unreference the atlas texture's sub-texture before calling _cogl_atlas_copy_rectangle. This would leave the atlas texture in an inconsistent state during the copy. This doesn't normally matter but if the copy ends up doing a render then the atlas texture may end up being referenced. In particular it would cause problems if the texture is left in a texture unit because then Cogl may try to call get_gl_texture even though the texture isn't actually being used for rendering. To fix this the sub texture is now unrefed after the copy call instead. |
||
---|---|---|
.. | ||
cogl | ||
doc | ||
pango | ||
Makefile.am |