Skip to content
Snippets Groups Projects
Commit 736c6f3c authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon:
Browse files

meta/copy_image: Stash off the scissor


The meta CopyImageSubData path uses BlitFramebuffers to do the actual copy.
The only thing that can affect BlitFramebuffers other than the currently
bound framebuffers is the scissor so we need to save that off and reset it.
If we don't do this, applications that use a scissor together with
CopyImageSubData will get accidentally scissored copies.

Tested-by: Markus Wick <markus at selfnet.de>
Reviewed-by: default avatarAnuj Phogat <anuj.phogat@gmail.com>
parent bf4019a1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment