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

meow-7.2.2
Dave Parks 2012-03-26 17:44:26 -05:00
parent ce0f455b7c
commit bdb75f2c09
1 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include "llspinctrl.h"
#include "llstartup.h"
#include "lltextbox.h"
#include "llcombobox.h"
#include "pipeline.h"
// Linden library includes
@ -148,6 +149,13 @@ BOOL LLFloaterHardwareSettings::postBuild()
{
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();