what was this sqrt() for?

This commit is contained in:
Hannes Janetzek 2014-01-22 22:56:36 +01:00
parent f8603dafe1
commit 818e9ecbb8

View File

@ -152,7 +152,7 @@ public abstract class TextureLayer extends RenderElement {
TextureLayer tl = (TextureLayer) l; TextureLayer tl = (TextureLayer) l;
if (tl.fixed) if (tl.fixed)
GL.glUniform1f(hTextureScale, (float) Math.sqrt(scale)); GL.glUniform1f(hTextureScale, scale);
else else
GL.glUniform1f(hTextureScale, 1); GL.glUniform1f(hTextureScale, 1);