internal/graphicscommand: bug fix: compile error

Updates #2391
Updates #2423
This commit is contained in:
Hajime Hoshi 2022-10-30 10:57:52 +09:00
parent 13d28f50e5
commit b983014e95

View File

@ -274,7 +274,7 @@ func (q *commandQueue) flush(graphicsDriver graphicsdriver.Graphics) error {
// FlushCommands flushes the command queue and present the screen if needed.
func FlushCommands(graphicsDriver graphicsdriver.Graphics, endFrame bool) error {
resolveImages()
return theCommandQueue.Flush(graphicsDriver, endFrame)
return theCommandQueue.Flush(graphicsDriver)
}
// drawTrianglesCommand represents a drawing command to draw an image on another image.