ebiten/internal/buffered
Hajime Hoshi b08b740914 internal/buffered: bug fix: functions were not concurrent-safe
Before this change, `delayedCommandsFlushed` was set as 1 BEFORE
buffered commands were flushed. This meant that a function call and
a command being flushed were not concurrent-safe.

This change fixes this issue by changing the timing of setting
`delayedCommandsFlushed` as 1 to the later time after flushing the
buffered commands.

Closes #2580
2023-02-21 20:38:06 +09:00
..
command.go internal/buffered: bug fix: functions were not concurrent-safe 2023-02-21 20:38:06 +09:00
image_test.go all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
image.go internal/buffered: bug fix: functions were not concurrent-safe 2023-02-21 20:38:06 +09:00