webatintel / aquarium

BSD 3-Clause "New" or "Revised" License
26 stars 7 forks source link

Resize window on OpenGL backend #4

Closed JiangYizhou closed 5 years ago

JiangYizhou commented 5 years ago

If window size is changed, we have to reset viewport on OpenGL. Glfw call back function helpes to catch window resize.