Skip to content
Snippets Groups Projects
Commit f46e07c1 authored by Graham Madarasz (Graham Linden)'s avatar Graham Madarasz (Graham Linden)
Browse files

MAINT-1453 ifdef around windows-only work-around to restore 8x and 16x AA modes on Mac

parent 70cacc4d
No related branches found
No related tags found
No related merge requests found
...@@ -151,12 +151,17 @@ BOOL LLFloaterHardwareSettings::postBuild() ...@@ -151,12 +151,17 @@ BOOL LLFloaterHardwareSettings::postBuild()
{ {
childSetAction("OK", onBtnOK, this); childSetAction("OK", onBtnOK, this);
// Don't do this on Mac as their braindead GL versioning
// sets this when 8x and 16x are indeed available
//
#if !LL_DARWIN
if (gGLManager.mIsIntel || gGLManager.mGLVersion < 3.f) if (gGLManager.mIsIntel || gGLManager.mGLVersion < 3.f)
{ //remove FSAA settings above "4x" { //remove FSAA settings above "4x"
LLComboBox* combo = getChild<LLComboBox>("fsaa"); LLComboBox* combo = getChild<LLComboBox>("fsaa");
combo->remove("8x"); combo->remove("8x");
combo->remove("16x"); combo->remove("16x");
} }
#endif
refresh(); refresh();
center(); center();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment