mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphicscommand: bug fix: test failures on Linux
This commit is contained in:
parent
005e87a917
commit
1839dd0b9b
@ -156,7 +156,9 @@ func (q *commandQueue) Flush(graphicsDriver graphicsdriver.Graphics, endFrame bo
|
||||
runOnRenderingThread(func() {
|
||||
err = q.flush(graphicsDriver, endFrame)
|
||||
})
|
||||
q.float32sBuffer = q.float32sBuffer[:0]
|
||||
if endFrame {
|
||||
q.float32sBuffer = q.float32sBuffer[:0]
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user