Open Bayugoon opened 9 months ago
Using the example "hello" program when ever I resize the window using the glutin/winit features the vertices of the triangle don't conform to the new size of the window, how is one intended to achieve this?
gl.viewport(x, y, width, height) call on a window resize event seems to do the trick
gl.viewport(x, y, width, height)
Using the example "hello" program when ever I resize the window using the glutin/winit features the vertices of the triangle don't conform to the new size of the window, how is one intended to achieve this?