Another warning fix submitted by curaga (3472442)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4036 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
f4fdeb55a9
commit
7f017fa3ef
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue