mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 11:59:12 +00:00
Neil Roberts
9302d146d1
CoglTexture2DSliced: Pass slice tex to callback in foreach_sub_texture
The cogl_texture_foreach_sub_texture_in_region virtual for the sliced texture backend was previously passing the CoglHandle of the sliced texture to the callback. Since d5634e37 the slice texture backend now works in terms of 2D textures so it's possible to pass the underlying slice texture as a handle too. This makes all of the foreach callbacks consistent in that they pass a CoglHandle of the primitive texture type that matches the GL handle.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%