diff options
| author | Tofu Buzzard <no-email> | 2011-01-30 10:39:02 -0800 |
|---|---|---|
| committer | Tofu Buzzard <no-email> | 2011-01-30 10:39:02 -0800 |
| commit | 489a01181da4f599eb4d0520636278be3ceac2bc (patch) | |
| tree | 11e55a7c3dcbbf2383ea395b342e4257a7a2524b /indra/newview/llappviewer.cpp | |
| parent | 139dddda8f416782d69f39b22c2665c4a196877a (diff) | |
| parent | fe253e6ec6f77a7967cadd6efd76b2fbbef4e2da (diff) | |
merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 2d4838814e..e74a7a84c3 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -897,6 +897,18 @@ bool LLAppViewer::init() return 0; } + // Without SSE2 support we will crash almost immediately, warn here. + if (!gSysCPU.hasSSE2()) + { + // can't use an alert here since we're exiting and + // all hell breaks lose. + OSMessageBox( + LLNotifications::instance().getGlobalString("UnsupportedCPUSSE2"), + LLStringUtil::null, + OSMB_OK); + return 0; + } + // alert the user if they are using unsupported hardware if(!gSavedSettings.getBOOL("AlertedUnsupportedHardware")) { |
