I wrote a CTexture class, which supports loading of .tga files. It works perfectly on PC (the code is based on the book “Opengl game programming”). However, when I run the same code on unix machine (Mesa Opengl), the objects read the texture, no crashes, but don’t display anything… that is the objects are shaded with lights and such, but all of them are default color, no texturing.
Are there any differences when reading tgas files on Unix as opposed to PC ? Or perhaps differences in turning on textures or displaying them?
Thank you,
Luke