mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/graphicsdriver/directx: add comment about frames
Updates #2034
This commit is contained in:
parent
a16ffef499
commit
0c38d6faeb
@ -674,6 +674,7 @@ func (g *Graphics) End(present bool) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO: nextIndex should be GetCurrentBackBufferIndex on desktops, right? (#2034)
|
||||
nextIndex := (g.frameIndex + 1) % frameCount
|
||||
if err := g.waitForCommandQueueForFrame(nextIndex); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user