Closed SirePi closed 6 years ago
This looks like a bug in the AdamsLair.OpenTK dependency (duality-master
branch) that could have been introduced in one of these recent commits:
I'm currently suspecting this one, as it also touches window size values. Maybe some code needs to be adjusted to match with the cherry-picked changes.
It seems like this line from the original commit was applied at the wrong place. @SirePi is currently on a fix for this.
Fixed by @SirePi, binary release in progress. Package update should be available in about 15 minutes.
Summary
The client window is not resized correctly when resolution changes are applied via code
Probably a side effect of the latest upgrade to OpenTK's last version, since the behavior was not observed before despite having code that actually resized the game's window.
How to reproduce
Just programmatically alter the resolution by changing UserData
Attachments
[Core] Msg: Resize > targetSize:{Width=800, Height=650}, ClientSize:{Width=816, Height=639}
expected:[Core] Msg: Resize > targetSize:{Width=800, Height=650}, ClientSize:{Width=800, Height=650}