diff options
author | Brad Linden <brad@lindenlab.com> | 2024-03-05 11:11:54 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-03-05 11:11:54 -0800 |
commit | 89b48796271f48c8b89e7981095bed4acf825a0f (patch) | |
tree | 480703ed1c3bace62699f33ccbdcba705124fc16 /indra/newview/llviewerwindow.cpp | |
parent | 8164dce567d1bd59a1de3f488b01783a5ab69ed4 (diff) | |
parent | dd74c2cbd542daa8d6cedba7ba7a68268f7b73d3 (diff) |
Merge remote-tracking branch 'origin/release/gltf-maint2' into release/materials_featurette
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 58024fb60e..1459686f10 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1957,7 +1957,11 @@ LLViewerWindow::LLViewerWindow(const Params& p) // Initialize OpenGL Renderer LLVertexBuffer::initClass(mWindow); LL_INFOS("RenderInit") << "LLVertexBuffer initialization done." << LL_ENDL ; - gGL.init(true); + if (!gGL.init(true)) + { + LLError::LLUserWarningMsg::show(LLTrans::getString("MBVideoDrvErr")); + LL_ERRS() << "gGL not initialized" << LL_ENDL; + } if (LLFeatureManager::getInstance()->isSafe() || (gSavedSettings.getS32("LastFeatureVersion") != LLFeatureManager::getInstance()->getVersion()) |