summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolterrain.cpp
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-01-03 21:05:41 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-01-03 21:05:41 +0000
commit4617a37edfc291a0942027231691bdbf6109b9cb (patch)
tree5745c5e3dee0568be67d48242814d2654d80c9de /indra/newview/lldrawpoolterrain.cpp
parent2b291c2732b583911c0d98c30dbfedfd4022babb (diff)
corrected, removed, and updated comments throughout the code to be more useful. no code changes. SL-13762
Diffstat (limited to 'indra/newview/lldrawpoolterrain.cpp')
-rw-r--r--indra/newview/lldrawpoolterrain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lldrawpoolterrain.cpp b/indra/newview/lldrawpoolterrain.cpp
index 3e51e01699..3e6ae7bf85 100644
--- a/indra/newview/lldrawpoolterrain.cpp
+++ b/indra/newview/lldrawpoolterrain.cpp
@@ -1007,10 +1007,10 @@ void LLDrawPoolTerrain::renderOwnership()
glClientActiveTextureARB(GL_TEXTURE0_ARB);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
- // HACK: Because the region is 256 meters wide, but has 257 pixels, the
- // texture coordinates for pixel 256x256 is not 1,1. This makes the
- // ownership map not line up with the selection. Fix this with a texture
- // matrix multiply.
+ // *NOTE: Because the region is 256 meters wide, but has 257 pixels, the
+ // texture coordinates for pixel 256x256 is not 1,1. This makes the
+ // ownership map not line up with the selection. We address this with
+ // a texture matrix multiply.
glMatrixMode(GL_TEXTURE);
glPushMatrix();