i am using openg for 2d only textures.l
my texture are png files.
I noticed at some scale there i a small black line located at the bottom border of the png (it seems to blink). it is not a big problem but is a bit ugly. with no scale no issue. Most of the scales are ok, only some value are messing opengl.
here is my code for the texture.
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, work->w, work->h , 0, GL_RGBA, GL_UNSIGNED_BYTE, work->data);
and then during blitting there is a translate(), a scale() if new dim are not the same than original png dim, and a simple begin() end() with vertex stuff.