graphics: Misspelling

This commit is contained in:
Hajime Hoshi 2017-09-21 23:33:27 +09:00
parent b47e564762
commit 6145ecee74
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ func (q *commandQueue) EnqueueDrawImageCommand(dst, src *Image, vertices []float
// Enqueue enqueues a drawing command other than a draw-image command.
//
// For a draw-image commmand, use EnqueueDrawImageCommand.
// For a draw-image command, use EnqueueDrawImageCommand.
func (q *commandQueue) Enqueue(command command) {
q.m.Lock()
q.commands = append(q.commands, command)

View File

@ -67,7 +67,7 @@ type Image struct {
baseColor color.RGBA
// drawImageHistory is a set of draw-image commands.
// TODO: This should be merged with the similar command queue in package grpahics (#433).
// TODO: This should be merged with the similar command queue in package graphics (#433).
drawImageHistory []*drawImageHistoryItem
// stale indicates whether the image needs to be synced with GPU as soon as possible.