Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed incorrect behaviour of headless_renderer depending on image dim…
…ensions (bevyengine#13388) # Objective - Fixes bevyengine#13384 . ## Solution - If the image became wider when copying from the texture to the buffer, then the data is reduced to its original size when copying from the buffer to the image. ## Testing - Ran example with 1919x1080 resolution ![000](https://github.com/bevyengine/bevy/assets/17225606/47d95ed7-1c8c-4be4-a45a-1f485a3d6aa7) --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: François Mockers <francois.mockers@vleue.com>
- Loading branch information