summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-10-21 11:28:57 +0800
committerErik Kundiman <erik@megapahit.org>2024-10-21 11:28:57 +0800
commit57e300e20034495d794f8a273d88d7a2ddd1545d (patch)
treed84acecc57e6e7eed20082b315e76dec354340cf /indra/newview
parentc0e3be5df88ed316a247d8f7fae19a327a5a8a6f (diff)
parent1924c44caf5d0f842a0c1d5deaa110b3c3d18df7 (diff)
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 2489bcbf04..6ea5a47e80 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1936,6 +1936,11 @@ LLViewerWindow::LLViewerWindow(const Params& p)
}
LLFontManager::initClass();
+
+ // fonts use an GL_UNSIGNED_BYTE image format,
+ // so they need convertion, init buffers if needed
+ LLImageGL::allocateConversionBuffer();
+
// Init font system, load default fonts and generate basic glyphs
// currently it takes aprox. 0.5 sec and we would load these fonts anyway
// before login screen.