mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Neil Roberts
3bd20acfb4
cogl-texture-2d-sliced: Fix the foreach callback for waste textures
When converting the virtual coordinates of the underlying texture for a slice to virtual coordinates for the whole texture it was using the size and offset of the intersection as the size of the child texture. This would be incorrect if the texture contains waste or the texture coordinates are not the default. Instead the sliced foreach function now passes the CoglSpan to the callback instead of the intersection. http://bugzilla.clutter-project.org/show_bug.cgi?id=2398
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%