for (int i = state.getShaderAttributes().size(); --i >= 0;) { final ShaderVariable shaderVariable = state.getShaderAttributes().get(i); if (shaderVariable.needsRefresh) { LwjglShaderUtil.updateAttributeLocation(shaderVariable, state._programID);
final List<ShaderVariable> attribs = state.getShaderAttributes(); for (int i = attribs.size(); --i >= 0;) { final ShaderVariable shaderVariable = attribs.get(i);