mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphciscommand: Add coments
This commit is contained in:
parent
a4d419bab1
commit
d94b84b8de
@ -139,6 +139,8 @@ func (q *commandQueue) EnqueueDrawTrianglesCommand(dst, src *Image, vertices []f
|
||||
iw, ih := src.InternalSize()
|
||||
q.appendVertices(vertices, float32(iw), float32(ih))
|
||||
} else {
|
||||
// TODO: Use the image's size in the uniform variables.
|
||||
// When there are multiple images, the smallest ID's image should be adopted.
|
||||
q.appendVertices(vertices, 1, 1)
|
||||
}
|
||||
q.appendIndices(indices, uint16(q.nextIndex))
|
||||
|
Loading…
Reference in New Issue
Block a user