1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-18 23:12:02 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
Artem Yadelskyi
5b53cef59e
all: remove old // +build comments ()
Closes 
2022-11-03 12:55:14 +09:00
Hajime Hoshi
27cb149475 internal/graphicscommand: bug fix: resolve unsent WritePixels commands
(*Image).WritePixels doens't send a command to the queue immediately
but caches commands internally. However, the package atlas assumed
that pixel data was sent to the cache every end of a frame. Then, byte
slices for pixels were corrupted.

This change fixes the issue by resolving all the images when flushing
commands.

Closes 
2022-10-16 15:19:25 +09:00