Commit 8da16cf9 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

texture_cache: Reintroduce preserve_contents accurately

This reverts commit 94b0e2e5.

preserve_contents proved to be a meaningful optimization. This commit
reintroduces it but properly implemented on OpenGL.

We have to make sure the clear removes all the previous contents of the
image.

It's not currently implemented on Vulkan because we can do smart things
there that's preferred to be introduced in a separate commit.
parent 378aed07
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment