aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolterrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldrawpoolterrain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lldrawpoolterrain.cpp b/linden/indra/newview/lldrawpoolterrain.cpp
index 249f5a9..d0bf2c1 100644
--- a/linden/indra/newview/lldrawpoolterrain.cpp
+++ b/linden/indra/newview/lldrawpoolterrain.cpp
@@ -73,19 +73,19 @@ LLDrawPoolTerrain::LLDrawPoolTerrain(LLViewerImage *texturep) :
73 TRUE, TRUE, GL_ALPHA8, GL_ALPHA, 73 TRUE, TRUE, GL_ALPHA8, GL_ALPHA,
74 LLUUID("e97cf410-8e61-7005-ec06-629eba4cd1fb")); 74 LLUUID("e97cf410-8e61-7005-ec06-629eba4cd1fb"));
75 75
76 //gGL.getTexUnit(0)->bind(mAlphaRampImagep.get()); 76 gGL.getTexUnit(0)->bind(mAlphaRampImagep.get());
77 mAlphaRampImagep->setAddressMode(LLTexUnit::TAM_CLAMP); 77 mAlphaRampImagep->setAddressMode(LLTexUnit::TAM_CLAMP);
78 78
79 m2DAlphaRampImagep = gImageList.getImageFromFile("alpha_gradient_2d.j2c", 79 m2DAlphaRampImagep = gImageList.getImageFromFile("alpha_gradient_2d.j2c",
80 TRUE, TRUE, GL_ALPHA8, GL_ALPHA, 80 TRUE, TRUE, GL_ALPHA8, GL_ALPHA,
81 LLUUID("38b86f85-2575-52a9-a531-23108d8da837")); 81 LLUUID("38b86f85-2575-52a9-a531-23108d8da837"));
82 82
83 //gGL.getTexUnit(0)->bind(m2DAlphaRampImagep.get()); 83 gGL.getTexUnit(0)->bind(m2DAlphaRampImagep.get());
84 m2DAlphaRampImagep->setAddressMode(LLTexUnit::TAM_CLAMP); 84 m2DAlphaRampImagep->setAddressMode(LLTexUnit::TAM_CLAMP);
85 85
86 mTexturep->setBoostLevel(LLViewerImageBoostLevel::BOOST_TERRAIN); 86 mTexturep->setBoostLevel(LLViewerImageBoostLevel::BOOST_TERRAIN);
87 87
88 //gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); 88 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
89} 89}
90 90
91LLDrawPoolTerrain::~LLDrawPoolTerrain() 91LLDrawPoolTerrain::~LLDrawPoolTerrain()