graphciscommand: Add coments

This commit is contained in:
Hajime Hoshi 2020-05-24 02:51:37 +09:00
parent a4d419bab1
commit d94b84b8de

View File

@ -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))