what was this sqrt() for?
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user