Doc typo: IDriver to IVideoDriver in drop/grab doc

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Doc typo: IDriver to IVideoDriver in drop/grab doc

Post by MasterGod »

If you want to create a texture, you may want to call an imaginable method IDriver::createTexture.
I guess it should be IVideoDriver.

P.S
Was it called IDriver on an earlier version?
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
Fk
Posts: 6
Joined: Thu Jul 10, 2008 12:46 pm
Location: Russia
Contact:

Post by Fk »

Heey, Guys! I need answer! IVideoDriver have not createTexture too. And if I use addTexture, than myTexture is store in mydriver, that write in help. I want to use createTexture.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You must use addTexture, because Irrlicht uses a texture cache which stores them. Hence, no create but an add method.
Post Reply