glen3b/GLib

TextureFactory.Clone can be improved

Closed this issue · 0 comments

The current implementation of Clone in the TextureFactory class is mostly complete, but has a few shortcomings.

  • Even if the Tag object can be cloned in and of itself, the same reference as the original texture is used
  • The mipmap value is not copied to the new texture
  • Null textures are not cloned properly
  • These shortcomings are not currently documented