summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-09-14 11:05:08 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-09-14 11:05:08 -0400
commit7f19cb367e6182fff78d66738087601470faa9fa (patch)
tree1f70a2f5a05479013ef019877dae554e1ee8f339 /indra/newview/app_settings/shaders/class1
parent9d44aaab46eff6d16ff50d8b6c12df821f637761 (diff)
parent6b2c1d5f104047af8aa71d01b7d8fbe9a0ad3493 (diff)
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
index d3eed775bf..b342abb7c1 100755
--- a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
+++ b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
@@ -40,8 +40,7 @@ mat4 getObjectSkinnedTransform()
index = min(index, vec4(151.0));
index = max(index, vec4( 0.0));
- float scale = 1.0/(w.x+w.y+w.z+w.w);
- w *= scale;
+ w *= 1.0/(w.x+w.y+w.z+w.w);
int i1 = int(index.x);
int i2 = int(index.y);