Archived

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

SonShadowCat

texture problem

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
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