diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-07 21:14:07 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-07 21:14:07 +0800 |
commit | b47d2a1c0e432483d93693de58956367a3c935d6 (patch) | |
tree | 27863167af076cab86159f9b312bf94fcdc2052b /indra | |
parent | d0b773094d5a3129f5b6db7d9de0da41791b2852 (diff) |
Bring back GL_MULTISAMPLE_ARB to macOS
since it doesn't have GL_MULTISAMPLE_EXT.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llgl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index f597b1a932..5ad8e7f5df 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -1621,8 +1621,13 @@ void LLGLState::initClass() // sStateMap[GL_TEXTURE_2D] = GL_TRUE; //make sure multisample defaults to disabled +#if GL_ARB_multisample + sStateMap[GL_MULTISAMPLE_ARB] = GL_FALSE; + glDisable(GL_MULTISAMPLE_ARB); +#else sStateMap[GL_MULTISAMPLE_EXT] = GL_FALSE; glDisable(GL_MULTISAMPLE_EXT); +#endif } //static |