memory error on JPEG

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
husqvarna
Posts: 39
Joined: Thu Mar 09, 2006 9:37 am

memory error on JPEG

Post by husqvarna »

I try to appy a texture, but I have this message (not enough memory):

I am using irrSpintz 0.12-0.14

Could not create OpenGL texture mip maps.: mémoire insuffisante

Code: Select all

video::ITexture* terrainTexture = driver->getTexture( chars_texture ) ;
	mapNode->setMaterialFlag( video::EMF_LIGHTING, false );
	mapNode->setMaterialTexture( 0, terrainTexture );	
	mapNode->setMaterialType( video::EMT_SOLID );
	mapNode->setVisible(true) ;
My picture is only 1 MB, why this problem??

thanks
Post Reply