Jump to content
  • Advertisement

Archived

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

SonShadowCat

texture problem

This topic is 6102 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

im using Dev C++ with opengl and i got this weird problem this line does not seem to work( 85 untitled1.cpp implicit declaration of function `int free(...)'') this is the problem line: free(TextureImage[0]->data); // Free The Texture Image Memory whats wrong? "Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Include the stdlib.h header file.

Share this post


Link to post
Share on other sites
Don''t know why it''s not in the NeHe tuts. You''ll see that in the ports of the NeHe tutorials to other compilers/OS''es, stdlib.h IS included. On a side note, free is also defined in malloc.h.

Dirk =[Scarab]= Gerrits

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!