Uh oh....
Hello everyone, thanx for helping me last time, but i ave another question, in lesson 6, i cant seem to get the NeHe logo texture to load onto the cube, it says "initialization failed",
i made that part a comment, just to try, and it made the cube and it never had the texture(ecause there is no warning to close it if the texture didnt load, i made it a comment) then tried for a bit to get it to load, i un commented that section, and tried for longer, and i cant seem to get it to work, how come?
P.S. what is the point of these lines:
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#pragma comment(lib, "glaux.lib")
?
Yay opengl! im on me way to maybe making a REAL bad mario kart knock off! ACE!
The pragmas load the libraries, and you need to put the textures in the working directory of the program.
-~-The Cow of Darkness-~-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement