Resize a window without deformation


I’m implement an aplicattion which shows a window divided in for parts, where each one shows a perspective of one object, but when I tounch the size of the window, the images deformes.

The error could be in the glOrtho funcion or in reshape?

Thak you!!!

Check your glViewport calls so that you update your viewports at when the window changes size.