aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerwindow.cpp')
-rw-r--r--linden/indra/newview/llviewerwindow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp
index 57580cf..c4d5e58 100644
--- a/linden/indra/newview/llviewerwindow.cpp
+++ b/linden/indra/newview/llviewerwindow.cpp
@@ -1278,6 +1278,13 @@ LLViewerWindow::LLViewerWindow(
1278 LLAppViewer::instance()->forceExit(1); 1278 LLAppViewer::instance()->forceExit(1);
1279 } 1279 }
1280 1280
1281 const U32 real_fsaa = mWindow->getFSAASamples();
1282 if (real_fsaa != gSavedSettings.getU32("RenderFSAASamples"))
1283 {
1284 LL_WARNS("Window") << "Window created with reduced anti-aliasing samples: " << real_fsaa << "x FSAA." << LL_ENDL;
1285 gSavedSettings.setU32("RenderFSAASamples", real_fsaa);
1286 }
1287
1281 // Get the real window rect the window was created with (since there are various OS-dependent reasons why 1288 // Get the real window rect the window was created with (since there are various OS-dependent reasons why
1282 // the size of a window or fullscreen context may have been adjusted slightly...) 1289 // the size of a window or fullscreen context may have been adjusted slightly...)
1283 F32 ui_scale_factor = gSavedSettings.getF32("UIScaleFactor"); 1290 F32 ui_scale_factor = gSavedSettings.getF32("UIScaleFactor");
@@ -2178,7 +2185,7 @@ void LLViewerWindow::draw()
2178 { 2185 {
2179 // Used for special titles such as "Second Life - Special E3 2003 Beta" 2186 // Used for special titles such as "Second Life - Special E3 2003 Beta"
2180 const S32 DIST_FROM_TOP = 20; 2187 const S32 DIST_FROM_TOP = 20;
2181 LLFontGL::getFontSansSerifBig()->renderUTF8( 2188 LLFontGL::getFontSansSerifLarge()->renderUTF8(
2182 mOverlayTitle, 0, 2189 mOverlayTitle, 0,
2183 llround( getWindowWidth() * 0.5f), 2190 llround( getWindowWidth() * 0.5f),
2184 getWindowHeight() - DIST_FROM_TOP, 2191 getWindowHeight() - DIST_FROM_TOP,