app/internal/d3d11: enable VSync

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
Egon Elbre
2020-03-15 17:49:23 +02:00
committed by Elias Naur
parent 7fba3bb8fe
commit acd32c31a2
+1 -1
View File
@@ -245,7 +245,7 @@ func (s *SwapChain) Release() {
}
func (s *SwapChain) Present() error {
return s.swchain.Present(0, 0)
return s.swchain.Present(1, 0)
}
func NewBackend(d *Device) (*Backend, error) {