- Fixed problem with application crash when texture was removed and material override for 2d rendering was enabled.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@4567 dfc29bdd-3216-0410-991c-e03cc46cb475