Why is there a texture already loaded when Irrlicht starts?

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
piiichan
Posts: 59
Joined: Thu May 01, 2008 1:20 am
Location: New Caledonia (France - Pacific)
Contact:

Why is there a texture already loaded when Irrlicht starts?

Post 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;
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

It's the default font used by Irrlicht.
piiichan
Posts: 59
Joined: Thu May 01, 2008 1:20 am
Location: New Caledonia (France - Pacific)
Contact:

Post by piiichan »

Clear.

Thanks :)
Post Reply