mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/atlas: add comments
This commit is contained in:
parent
630789757f
commit
315450474a
@ -719,6 +719,7 @@ func (i *Image) DumpScreenshot(graphicsDriver graphicsdriver.Graphics, path stri
|
||||
}
|
||||
|
||||
func EndFrame(graphicsDriver graphicsdriver.Graphics, swapBuffersForGL func()) error {
|
||||
// Flushing draw commands starts. Stop queuing new graphics commands until the next frame.
|
||||
backendsM.Lock()
|
||||
|
||||
if err := restorable.EndFrame(graphicsDriver, swapBuffersForGL); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user