summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-11-29 23:53:28 -0800
committerRichard Linden <none@none>2011-11-29 23:53:28 -0800
commitff32ef773b19a6d0f7826c7edf7962e2fde492e6 (patch)
tree6270fa5f92ce026864f6a423955b9a8a4463a8cf /indra/newview
parentacd047b6be30bd1537aa62616ed70b02af7405b3 (diff)
fix for crash on startup (font system not initialized when first creating fonts)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 2479006eeb..22076417a6 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -4745,6 +4745,9 @@ void LLViewerWindow::initFonts(F32 zoom_factor)
{
LLFontGL::destroyAllGL();
// Initialize with possibly different zoom factor
+
+ LLFontManager::initClass();
+
LLFontGL::initClass( gSavedSettings.getF32("FontScreenDPI"),
mDisplayScale.mV[VX] * zoom_factor,
mDisplayScale.mV[VY] * zoom_factor,