mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
26b9fa20c1
QuadVertices or verticesBackend.slice reused its backend slice.
This caused a race condition. QuadVertices can be accessed from
multiple goroutines, and resetting the head and copying the data
at internal/graphicscommand might not be synced.
This change fixes this issue by basically reverting
|
||
---|---|---|
.. | ||
const_android.go | ||
const_js.go | ||
const_others.go | ||
doc.go | ||
image.go | ||
images_test.go | ||
images.go | ||
rect.go | ||
shader_test.go | ||
shader.go |