mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
restorable: Update comments
This commit is contained in:
parent
b2eee7ee8a
commit
c0cd7ec59c
@ -249,7 +249,10 @@ func fillImage(i *graphicscommand.Image, clr color.RGBA) {
|
||||
compositemode = driver.CompositeModeCopy
|
||||
}
|
||||
|
||||
// TODO: Integrate with clearColor
|
||||
// This needs to use 'InternalSize' to render the whole region, or edges are unexpectedly cleared on some
|
||||
// devices.
|
||||
//
|
||||
// TODO: Can we unexport InternalSize()?
|
||||
dw, dh := i.InternalSize()
|
||||
sw, sh := emptyImage.image.InternalSize()
|
||||
vs := quadVertices(0, 0, float32(dw), float32(dh), 0, 0, float32(sw), float32(sh), rf, gf, bf, af)
|
||||
|
Loading…
Reference in New Issue
Block a user