Archived

This topic is now archived and is closed to further replies.

loading textures

This topic is 5971 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i have problems during loading textures. the code based on nehe's lesson 6. when i load nehe's textur the window work but i can't load my texture. the quad is gray. pleas help me.
if (TextureImage[0]=LoadBMP("Data/cm.bmp"))
	{
		Status=TRUE;									

		glGenTextures(1, &texture[0]);			
 
Edited by - deepblack on August 6, 2001 5:24:09 AM

Share this post


Link to post
Share on other sites