Skip to content

opengl: Add GLTexture::update() overload that takes a region

This ensures a couple of things:

  • avoid pointlessly binding and unbinding the texture
  • if the image format needs to be changed, it will be done only once
Edited by Vlad Zahorodnii

Merge request reports

Loading