what was this sqrt() for?

This commit is contained in:
Hannes Janetzek
2014-01-26 20:36:06 +01:00
parent f8603dafe1
commit 818e9ecbb8
@@ -152,7 +152,7 @@ public abstract class TextureLayer extends RenderElement {
TextureLayer tl = (TextureLayer) l;
if (tl.fixed)
GL.glUniform1f(hTextureScale, (float) Math.sqrt(scale));
GL.glUniform1f(hTextureScale, scale);
else
GL.glUniform1f(hTextureScale, 1);