mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
ebiten: fix comments
This commit is contained in:
parent
0d173834a6
commit
79ed63f281
6
image.go
6
image.go
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user