Hi again @DanielMendes!
The full rendering code would need to be available to debug this properly, but I can help with a few hints.
You might need to set the OpenGL Viewport with glViewport. This defaults to the size of the window when it is first created, but if your window size changes you’ll need to set it.
I’m not sure how you’re rendering the vertices, but your vertex shader or glmatrix needs to be set to output the correct coordinates. For legacy OpenGL see this post: A very basic issue with draw line
You might find that using a program like RenderDoc can help you debug your code by looking at all the parameters along with the input and output vertex data.
Good luck - if you need more help on this it would be useful to see the entire program.