When I load a texture in OpenGL and this has one (GL_ALPHA
) or three components per pixel (GL_RGB
), the texture appears tilted. What makes this happen?
As additional detail, the relation width/height seems to affect. For example, an image of 1366x768(683/384) appears tilted while an image of 1920x1080(16/9) is mapped correctly.