LocationRenderer: some protected members

This commit is contained in:
Emux
2018-08-02 12:50:21 +03:00
parent d58d79facf
commit 9a6ea88c23

View File

@@ -45,7 +45,7 @@ public class LocationRenderer extends LayerRenderer {
private final float mScale;
private String mShaderFile;
private int mShaderProgram;
protected int mShaderProgram;
private int hVertexPosition;
private int hMatrixPosition;
private int hScale;
@@ -281,7 +281,7 @@ public class LocationRenderer extends LayerRenderer {
gl.drawArrays(GL.TRIANGLE_STRIP, 0, 4);
}
private boolean init() {
protected boolean init() {
int program = GLShader.loadShader(mShaderFile != null ? mShaderFile : "location_1");
if (program == 0)
return false;