summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorleyla_linden <none@none>2011-01-28 16:44:50 -0800
committerleyla_linden <none@none>2011-01-28 16:44:50 -0800
commitfc4a36c63048e17145bfe21dbeec7611853bf5bd (patch)
tree9c067495fdb7c8fe89e05405eb2d1244dc867146 /indra/newview/llappviewer.cpp
parentfefc37e92fc5313e88fc7416e78fc2436abfffdb (diff)
parent435e9de7f1d0ca25fc2e8f36b4be3265cf0357d7 (diff)
Merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp12
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"))
{