diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:17:43 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-10 10:17:43 +0800 |
commit | 040fe22d93fe67a73fc33493057f06f07371dbdd (patch) | |
tree | a392cc84a82826652a0d92a005bc5aaf48dabc86 /indra/newview/llmanipscale.cpp | |
parent | e67022465d8189eb30135b6b7c0fe477b3b91819 (diff) |
Preprocess non portable OpenGL code
Diffstat (limited to 'indra/newview/llmanipscale.cpp')
-rw-r--r-- | indra/newview/llmanipscale.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmanipscale.cpp b/indra/newview/llmanipscale.cpp index e74fd1241b..a28118ff23 100644 --- a/indra/newview/llmanipscale.cpp +++ b/indra/newview/llmanipscale.cpp @@ -212,7 +212,9 @@ void LLManipScale::render() gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); LLGLDepthTest gls_depth(GL_TRUE); LLGLEnable gl_blend(GL_BLEND); +#if GL_VERSION_1_1 LLGLEnable gls_alpha_test(GL_ALPHA_TEST); +#endif LLBBox bbox = LLSelectMgr::getInstance()->getBBoxOfSelection(); if( canAffectSelection() ) |