Another warning fix submitted by curaga (3472442)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4036 dfc29bdd-3216-0410-991c-e03cc46cb475
master
bitplane 2012-01-11 16:12:30 +00:00
parent f4fdeb55a9
commit 7f017fa3ef
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ bool CGUIFont::loadTexture(video::IImage* image, const io::path& name)
image->copyTo(tmpImage);
deleteTmpImage=true;
break;
default:
os::Printer::log("Unknown texture format provided for CGUIFont::loadTexture", ELL_ERROR);
return false;
}
readPositions(tmpImage, lowerRightPositions);