Skip to content

opengl: Drop GLTexture::clear()

Vlad Zahorodnii requested to merge work/zzag/drop-gl-texture-clear into master

It's used only by the decoration renderer, but even it doesn't need it because the atlas parts are padded.

From the API point of view, it's worth looking for alternative solutions, like integrating the render target clear step in the render passes. And texture uploading code usually doesn't need to clear the texture because it is going to overwrite its contents anyway.

Merge request reports