ebiten/internal/shareable
Hajime Hoshi 1e1f309a1c shareable: Add Fill
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.
2019-01-13 02:12:47 +09:00
..
shareable_test.go graphics: Better test for a crash 2019-01-11 00:31:32 +09:00
shareable.go shareable: Add Fill 2019-01-13 02:12:47 +09:00