Skip to main content
gamedev.net
🔒 Locked

reminder(texture mapping problem)

Started by wabbz111 Dec 19, 2008 at 3:02 AM 1 replies 400+ views
Original Post
wabbz111
wabbz111
Hi guys please post for me a reply for the problem in this topic I really need a solution http://www.gamedev.net/community/forums/topic.asp?topic_id=518145
V-man
V-man
You mean that when you call glBindTexture, the texture doesn't bind?

Also, you guys should stop using glaux and stop giving 3 for the third parameter in
glTexImage2D( GL_TEXTURE_2D, 0, 3, TextureImage[0]->sizeX,
TextureImage[0]->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE,
TextureImage[0]->data);

give it an actual format like GL_RGB8 or GL_RGBA8
wabbz111
wabbz111
Thanks for the reply V Man
I will try it if and see what happens

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.