Commits

davep committed 74393c6

MAINT-792 Only allow up to 4x FSAA on Intel graphics.

Comments (0)

Files changed (1)

indra/newview/llfloaterhardwaresettings.cpp

 #include "llspinctrl.h"
 #include "llstartup.h"
 #include "lltextbox.h"
+#include "llcombobox.h"
 #include "pipeline.h"
 
 // Linden library includes
 {
 	childSetAction("OK", onBtnOK, this);
 
+	if (gGLManager.mIsIntel)
+	{ //remove FSAA settings above "4x"
+		LLComboBox* combo = getChild<LLComboBox>("fsaa");
+		combo->remove("8x");
+		combo->remove("16x");
+	}
+
 	refresh();
 	center();