Page 1 of 1

Why is there a texture already loaded when Irrlicht starts?

Posted: Fri Jun 06, 2008 12:28 pm
by piiichan
Have you noticed that, if you print how many textures are loaded right after you create the Irrlicht device, you'll see there is 1 texture in memory?

What is this texture?

PS: I used the following code to notice it:

Code: Select all

device = createDevice(EDT_OPENGL, dimension2d<s32>(windowWidth, windowHeight));
driver = device->getVideoDriver();

cout <<  driver->getTextureCount() << endl;

Posted: Fri Jun 06, 2008 12:34 pm
by hybrid
It's the default font used by Irrlicht.

Posted: Fri Jun 06, 2008 12:36 pm
by piiichan
Clear.

Thanks :)