ebiten: fix comments

This commit is contained in:
Hajime Hoshi 2022-12-06 01:57:48 +09:00
parent 0d173834a6
commit 79ed63f281

View File

@ -38,14 +38,14 @@ type Image struct {
original *Image original *Image
bounds image.Rectangle bounds image.Rectangle
// Do not add a 'buffering' member that are resolved lazily.
// This tends to forget resolving the buffer easily (#2362).
// tmpVertices must not be reused until the vertices are sent to the graphics command queue. // tmpVertices must not be reused until the vertices are sent to the graphics command queue.
tmpVertices []float32 tmpVertices []float32
// tmpUniforms must not be reused until the vertices are sent to the graphics command queue. // tmpUniforms must not be reused until the vertices are sent to the graphics command queue.
tmpUniforms []uint32 tmpUniforms []uint32
// Do not add a 'buffering' member that are resolved lazily.
// This tends to forget resolving the buffer easily (#2362).
} }
func (i *Image) copyCheck() { func (i *Image) copyCheck() {