opentk / opentk.net

The OpenTK website
https://opentk.net/
Creative Commons Attribution 4.0 International
24 stars 32 forks source link

Chapter 2, use Framebuffer size callback instead of OnResize. #100

Closed NogginBops closed 7 months ago

NogginBops commented 1 year ago

On macOS OnResize doesn't provide the correct size for calling glViewport, instead the framebuffer size callback should be used. See https://github.com/opentk/opentk/issues/1649