mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
1e1f309a1c
Before introducing Fill, filling an image with a solid color was implemented by ReplacePixels. When an offscreen image is used, the offscreen image is not fully cleared or filled with a color and out of (0,0)-(width,height) region. This causes a glitch thin line on mobile platforms. This change adds (*shareable.Image).Fill to fill the whole framebuffer region of the image. |
||
---|---|---|
.. | ||
shareable_test.go | ||
shareable.go |