mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +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 {
|
func EndFrame(graphicsDriver graphicsdriver.Graphics, swapBuffersForGL func()) error {
|
||||||
|
// Flushing draw commands starts. Stop queuing new graphics commands until the next frame.
|
||||||
backendsM.Lock()
|
backendsM.Lock()
|
||||||
|
|
||||||
if err := restorable.EndFrame(graphicsDriver, swapBuffersForGL); err != nil {
|
if err := restorable.EndFrame(graphicsDriver, swapBuffersForGL); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user