diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-10-15 14:14:46 -0700 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-10-15 14:14:46 -0700 |
commit | 590d3b9e3a2abdd37270ca64689a64c4e879fbe6 (patch) | |
tree | 96e7e8d1ac31027c04a964a7c16c16ef3a0df6ba /indra/llrender/llfontgl.h | |
parent | 47e02d13f7e6307d9eb507177b88bbf0ab496894 (diff) |
EXT-1279 Crash if font file not found.
Added getFontDefault() to llfontgl.h
--HG--
branch : branch-test
Diffstat (limited to 'indra/llrender/llfontgl.h')
-rw-r--r-- | indra/llrender/llfontgl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llfontgl.h b/indra/llrender/llfontgl.h index ad84b6d641..d6d6436aee 100644 --- a/indra/llrender/llfontgl.h +++ b/indra/llrender/llfontgl.h @@ -167,6 +167,7 @@ public: static LLFontGL* getFont(const LLFontDescriptor& desc); // Use with legacy names like "SANSSERIF_SMALL" or "OCRA" static LLFontGL* getFontByName(const std::string& name); + static LLFontGL* getFontDefault(); // default fallback font static std::string getFontPathLocal(); static std::string getFontPathSystem(); |