1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-02-17 21:40:08 +01:00
ebiten/internal/mipmap
Hajime Hoshi 26b9fa20c1 internal/graphics: Bug fix: Race condition at QuadVertices
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
9cb631e30f.

Closes 
2021-03-20 16:32:13 +09:00
..
mipmap.go internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00