hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
11.12k stars 664 forks source link

examples/skipdraw: resizing window causes unexpected rendering result #3105

Closed hajimehoshi closed 2 months ago

hajimehoshi commented 2 months ago

Ebitengine Version

v2.7.9

Operating System

Go Version (go version)

go version go1.22.6 darwin/arm64

What steps will reproduce the problem?

Run examples/skipdraw and resize the window

What is the expected result?

The rendering result is updated correctly

What happens instead?

The rendering result is skewed

https://github.com/user-attachments/assets/f3e4598a-43b1-4edf-9377-054ee5b81f6c

Anything else you feel useful to add?

No response

hajimehoshi commented 2 months ago

Fixed by https://github.com/hajimehoshi/ebiten/commit/50f0a8343c2b252a3f3f8892297ef97c5af4133e