Archived

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

deepblack

loading textures

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