Hi there!
When I am using the extensions ARB_texture_non_power_of_two or ARB/EXT/
NV_texture_rectangle in my application I get incorrect drawing
(artifacts) for some of my textures. This does not happen when I
deactivate the extension code. The artifact is as follows;
The textures are kind of "italicized", that is for each texture row
the data is adjusted one or two pixels sideways (left in my
application). My guess is that for some reason the texture renderer
thinks that the texture data is one or possibly two pixel wider than
it actually is.
Can it have something to do with texture parameters?:
glTexParameterf(tex_target, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameterf(tex_target, GL_TEXTURE_WRAP_T, GL_CLAMP);
I believe the behaviour of this parameter is changed when these
extensions are activated.
Many thanks in advance,
Per Nordl=F6w