Texture not displaying properly - probably coordinates are wrong OpenGL, C++
问题 I'll try to explain my problem with images. So this is a test texture I'm using for my OpenGL application: As you can see, there is a 2-pixels wide border around the image with different colors for me to be able to see if coordinates are properly set in my application. I'm using a 9-cell pattern so I'm drawing 9 quads with specific texture coordinates. At first sight everything works fine, but there is a small problem with displaying a texture: In the picture I marked where is first quad, and