We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the Getting started guide in the Hello Triangle section , there is an Incorrect arguments type for the OnFramebufferResize method
OnFramebufferResize
protected override void OnFramebufferResize(ResizeEventArgs e) { base.OnFramebufferResize(e); GL.Viewport(0, 0, e.Width, e.Height); }
https://github.com/opentk/opentk.net/blob/dd939cffe4680dc396b28af2c4c5d58dc222658d/learn/chapter1/2-hello-triangle.md?plain=1#L104C1-L112C1
protected override void OnFramebufferResize(FramebufferResizeEventArgs e) { base.OnFramebufferResize(e); GL.Viewport(0, 0, e.Width, e.Height); }
The text was updated successfully, but these errors were encountered:
Good catch! Must have missed that when I added that part to the tutorial. Will fix this next time I work on the website.
Sorry, something went wrong.
No branches or pull requests
Description:
In the Getting started guide in the Hello Triangle section , there is an Incorrect arguments type for the
OnFramebufferResize
methodCurrent content:
https://github.com/opentk/opentk.net/blob/dd939cffe4680dc396b28af2c4c5d58dc222658d/learn/chapter1/2-hello-triangle.md?plain=1#L104C1-L112C1
Expected content:
The text was updated successfully, but these errors were encountered: