02-26-2003, 04:25 AM
Hi!
I wrote a nice TGA loader. Everything was fine untill I tried to load the texture to OpenGL(via glTexImage2D).
I got no error message, but the texture simply wasn't there! It just didn't appear on the screen!
To make the things worther, I tried using gluBuildMipMaps2D - and it worked!!!
I was using the same parameters.
What can be the problem?
I wrote a nice TGA loader. Everything was fine untill I tried to load the texture to OpenGL(via glTexImage2D).
I got no error message, but the texture simply wasn't there! It just didn't appear on the screen!
To make the things worther, I tried using gluBuildMipMaps2D - and it worked!!!
I was using the same parameters.
What can be the problem?