LineTexBucket: remove redundant u_scale uniform, fix #376

This commit is contained in:
Emux 2017-07-19 15:02:01 +03:00
parent 12fe08884e
commit e7a391e640

View File

@ -1,6 +1,7 @@
/*
* Copyright 2013 Hannes Janetzek
* Copyright 2016 devemux86
* Copyright 2017 Longri
*
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
*
@ -215,7 +216,7 @@ public final class LineTexBucket extends LineBucket {
}
static class Shader extends GLShader {
int uMVP, uColor, uWidth, uBgColor, uScale, uMode;
int uMVP, uColor, uWidth, uBgColor, uMode;
int uPatternWidth, uPatternScale;
int aPos0, aPos1, aLen0, aLen1, aFlip;
@ -225,7 +226,6 @@ public final class LineTexBucket extends LineBucket {
uMVP = getUniform("u_mvp");
uScale = getUniform("u_scale");
uColor = getUniform("u_color");
uWidth = getUniform("u_width");
uBgColor = getUniform("u_bgcolor");