mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
app/internal/d3d11: enable VSync
Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user