Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wgpu-core] fix length of copy in queue_write_texture #5973

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 17, 2024

  1. [wgpu-core] fix length of copy in queue_write_texture

    The size of the given `data` might be less than the size of the staging buffer.
    This issue became apparent with the refactor in 6f16ea4 (gfx-rs#5946) since there is now an assert in `StagingBuffer.write()`.
    
    Ruffle ran into this in gfx-rs#3193 (comment).
    teoxoy committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    81f8fce View commit details
    Browse the repository at this point in the history