diff --git a/internal/graphicsdriver/directx/graphics_windows.go b/internal/graphicsdriver/directx/graphics_windows.go index efb8ae403..cd01b0ff5 100644 --- a/internal/graphicsdriver/directx/graphics_windows.go +++ b/internal/graphicsdriver/directx/graphics_windows.go @@ -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