mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Misspelling
This commit is contained in:
parent
b47e564762
commit
6145ecee74
@ -97,7 +97,7 @@ func (q *commandQueue) EnqueueDrawImageCommand(dst, src *Image, vertices []float
|
|||||||
|
|
||||||
// Enqueue enqueues a drawing command other than a draw-image command.
|
// 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) {
|
func (q *commandQueue) Enqueue(command command) {
|
||||||
q.m.Lock()
|
q.m.Lock()
|
||||||
q.commands = append(q.commands, command)
|
q.commands = append(q.commands, command)
|
||||||
|
@ -67,7 +67,7 @@ type Image struct {
|
|||||||
baseColor color.RGBA
|
baseColor color.RGBA
|
||||||
|
|
||||||
// drawImageHistory is a set of draw-image commands.
|
// 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
|
drawImageHistory []*drawImageHistoryItem
|
||||||
|
|
||||||
// stale indicates whether the image needs to be synced with GPU as soon as possible.
|
// stale indicates whether the image needs to be synced with GPU as soon as possible.
|
||||||
|
Loading…
Reference in New Issue
Block a user