Open cneicy opened 3 months ago
OpenTK4 https://opentk.net/learn/chapter1/2-hello-triangle.html?tabs=onload-opentk4%2Conrender-opentk4%2Cresize-opentk4#some-new-functions What in sample is
protected override void OnFramebufferResize(ResizeEventArgs e) { base.OnFramebufferResize(e); GL.Viewport(0, 0, e.Width, e.Height); }
but the parameter in source is
protected virtual void OnFramebufferResize(FramebufferResizeEventArgs e) { Action<FramebufferResizeEventArgs> framebufferResize = this.FramebufferResize; if (framebufferResize == null) return; framebufferResize(e); }
Thanks for the report! Will fix when I get to fixing website stuff.
I'd like to keep this open until I've actually fixed the issue :)
Thanks for saving my time.
OpenTK4 https://opentk.net/learn/chapter1/2-hello-triangle.html?tabs=onload-opentk4%2Conrender-opentk4%2Cresize-opentk4#some-new-functions What in sample is
but the parameter in source is