Skip to content

Comments

Use framebuffer extent in depth aspect copy, fixes #2071#2072

Merged
AWoloszyn merged 1 commit intogoogle:masterfrom
sean-purcell:fix-overdraw-crash
Jul 23, 2018
Merged

Use framebuffer extent in depth aspect copy, fixes #2071#2072
AWoloszyn merged 1 commit intogoogle:masterfrom
sean-purcell:fix-overdraw-crash

Conversation

@sean-purcell
Copy link
Contributor

The depth-aspect copying assumed both the original depth image and the new depth-stencil image were the same size, which wasn't true when the original depth image was larger than the framebuffer. This limits the copy to just the framebuffer area.

@AWoloszyn AWoloszyn merged commit 13c73ed into google:master Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants