From 6145ecee74ba297af302ad0fcdd2c683fda67282 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Thu, 21 Sep 2017 23:33:27 +0900 Subject: [PATCH] graphics: Misspelling --- internal/graphics/command.go | 2 +- internal/restorable/image.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/graphics/command.go b/internal/graphics/command.go index 4c2e1a9d5..26779dd48 100644 --- a/internal/graphics/command.go +++ b/internal/graphics/command.go @@ -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) diff --git a/internal/restorable/image.go b/internal/restorable/image.go index 509f3ebd4..bc7466eae 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -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.