Skip to content

Commit

Permalink
fixed resize when using macOS hidpi
Browse files Browse the repository at this point in the history
  • Loading branch information
tfriedel6 committed Jan 25, 2020
1 parent ecadd0e commit 04d4dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdlcanvas/sdlcanvas.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (wnd *Window) StartFrame() error {
wnd.SizeChange(int(e.Data1), int(e.Data2))
handled = true
} else {
wnd.Backend.SetBounds(0, 0, int(e.Data1), int(e.Data2))
wnd.Backend.SetBounds(0, 0, int(fbw), int(fbh))
}
}
}
Expand Down

0 comments on commit 04d4dab

Please sign in to comment.