mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +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. |
||
---|---|---|
.. | ||
affine | ||
clock | ||
devicescale | ||
glfw | ||
graphics | ||
graphicscommand | ||
graphicsdriver | ||
hooks | ||
input | ||
mainthread | ||
packing | ||
png | ||
restorable | ||
shareable | ||
testflock | ||
ui | ||
web |