Commit 390ee21b authored by cutealien's avatar cutealien

Fix font-drawing in CGUIButton to use EGDF_BUTTON again (thx @DJLinux for reporting).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4158 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 720d115a
......@@ -359,7 +359,7 @@ IGUIFont* CGUIButton::getActiveFont() const
return OverrideFont;
IGUISkin* skin = Environment->getSkin();
if (skin)
return skin->getFont();
return skin->getFont(EGDF_BUTTON);
return 0;
}
......
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