protected void updateUniformLocation(Shader shader, Uniform uniform) {
        int loc = gl.glGetUniformLocation(shader.getId(), uniform.getName());
        if (loc < 0) {
            uniform.setLocation(-1);
            // uniform is not declared in shader
            if (logger.isLoggable(Level.FINE)) {
                logger.log(Level.FINE, "Uniform {0} is not declared in shader {1}.",
                        new Object[]{uniform.getName(), shader.getSources()});
            }
        } else {
            uniform.setLocation(loc);
        }
    }
Update the location of the specified Uniform in the specified Shader.

@param shader the Shader containing the Uniform (not null)
@param uniform the Uniform to update (not null)
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java