From 040fe22d93fe67a73fc33493057f06f07371dbdd Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 10 Sep 2023 10:17:43 +0800 Subject: Preprocess non portable OpenGL code --- indra/newview/lldrawpooltree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/lldrawpooltree.cpp') diff --git a/indra/newview/lldrawpooltree.cpp b/indra/newview/lldrawpooltree.cpp index facfb235c9..bc6f587a3c 100644 --- a/indra/newview/lldrawpooltree.cpp +++ b/indra/newview/lldrawpooltree.cpp @@ -90,7 +90,9 @@ void LLDrawPoolTree::render(S32 pass) return; } +#if GL_VERSION_1_1 LLGLState test(GL_ALPHA_TEST, 0); +#endif gGL.getTexUnit(sDiffTex)->bindFast(mTexturep); gPipeline.touchTexture(mTexturep, 1024.f * 1024.f); // <=== keep Linden tree textures at full res -- cgit v1.2.3