chore(GLSLMaterial): tidy
reduce diff vs develop, remain consistent with comment
import org.lwjgl.opengl.GL20;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.terasology.gestalt.assets.AssetType;
-import org.terasology.gestalt.assets.DisposableResource;
-import org.terasology.gestalt.assets.ResourceUrn;
import org.terasology.engine.core.GameThread;
import org.terasology.engine.core.subsystem.lwjgl.LwjglGraphicsProcessing;
import org.terasology.engine.registry.CoreRegistry;
import org.terasology.engine.rendering.assets.shader.ShaderParameterMetadata;
import org.terasology.engine.rendering.assets.shader.ShaderProgramFeature;
import org.terasology.engine.rendering.assets.texture.Texture;
+import org.terasology.gestalt.assets.AssetType;
+import org.terasology.gestalt.assets.DisposableResource;
+import org.terasology.gestalt.assets.ResourceUrn;
import java.nio.FloatBuffer;
import java.util.Arrays;
@@ -624,7 +624,7 @@ public int hashCode() {
}
}
- public static class DisposalAction implements DisposableResource {
+ private static class DisposalAction implements DisposableResource {
private final ResourceUrn urn;
private final LwjglGraphicsProcessing graphicsProcessing;
@@ -632,7 +632,7 @@ public int hashCode() {
private TIntIntMap shaderPrograms = new TIntIntHashMap();
// made package-private after Jenkins' suggestion
- public DisposalAction(ResourceUrn urn, LwjglGraphicsProcessing graphicsProcessing) {
+ DisposalAction(ResourceUrn urn, LwjglGraphicsProcessing graphicsProcessing) {
this.urn = urn;
this.graphicsProcessing = graphicsProcessing;
}
