mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 10:28:58 +00:00
4be4f56bdf
When creating a Cogl sub-texture, if the full texture is also a sub texture it will now just offset the x and y and reference the full texture instead. This avoids one level of indirection when rendering the texture which reduces the chances of getting rounding errors in the calculations.