ebiten/internal/buffered
Hajime Hoshi ade7b8ceec 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:46:54 +09:00
..
command.go internal/buffered: bug fix: functions were not concurrent-safe 2023-02-21 20:46:54 +09:00
image_test.go ebiten: add WritePixels replacing ReplacePixels 2022-08-08 03:50:27 +09:00
image.go internal/buffered: bug fix: functions were not concurrent-safe 2023-02-21 20:46:54 +09:00