Commit 7f017fa3 authored by bitplane's avatar bitplane

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
parent f4fdeb55
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment