Relative Content

Tag Archive for c++openglglfwaspect-ratiostb-image

Image stretching when the window is not a square

When I use a squared window (800×800 for example) the sprites work perfectly, but when I use a rectangle window(1280×720 for example) the texture I’m trying to render is stretched horizontally.