problem loading texture

I’m having problems seeing the textures of an application, the application works fine in another computers but in mine it doesn’t load all the texture.

Some textures are loaded but others are missing, anyone know how can i fix this? or is this a problem of my computer?

textures extension is .tga

Thanks in advance

Do all working textures have power-of-two dimensions ?
Like 512*256 ?
Do you check the maximum texture size supported by your GL implementation ?

Hi! Thanks for your response

That was the problem, Not all the textures had power of two dimensions.
However it’s strange that the same code and same textures were working in other computers but in mine weren’t.

Regards,
saosin

That is because supporting Non-Power-Of-Two is only available as an optional extension on OpenGL before version 2.0 and you are supposed to check for that.
http://www.opengl.org/registry/specs/ARB/texture_non_power_of_two.txt

never mind