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