You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The correct property is actually FramebufferSize, others will break on macOS.
Will fix next time I do some work on these tutorials (if no one else has made a PR)
LearnOpenTK/Chapter1/2-HelloTriangle/Window.cs
Line 185 in 6825eba
I set the window to (1280, 720) but the GL.Viewport is actually set to:
When I used
ClientRectangle.Size.X
andClientRectangle.Size.Y
it became proper:The text was updated successfully, but these errors were encountered: