OpenGL: small black pixel on top right corner of texture

Posted by user308226 on Stack Overflow See other posts from Stack Overflow or by user308226
Published on 2010-04-03T09:31:07Z Indexed on 2010/04/03 9:33 UTC
Read the original article Hit count: 271

Filed under:

I wrote an uncompressed TGA texture loader and it works nearly perfect, except for the fact that there's just one TINY little black patch on the upper right and it's driving me mad. I can get rid of it by using a texture border, but somehow I think that's not the practical solution.

Has anyone encountered this kind of problem before and knows -generally- what's going wrong when something like this happens, or should I post the image-loading function code?

Here's a picture, the little black dot is REALLY small.

http://img651.imageshack.us/img651/2230/dasdwx.png

© Stack Overflow or respective owner

Related posts about opengl