From 28eaec2e29203a93699dfce84d1bbcfabdf1c992 Mon Sep 17 00:00:00 2001 From: Yves BLAKE Date: Sun, 14 Feb 2021 17:42:26 +0100 Subject: [PATCH] Update PShader.java Unnecessary redundant code --- core/src/processing/opengl/PShader.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/processing/opengl/PShader.java b/core/src/processing/opengl/PShader.java index 0f7c08185..b98270169 100644 --- a/core/src/processing/opengl/PShader.java +++ b/core/src/processing/opengl/PShader.java @@ -1139,10 +1139,6 @@ public class PShader implements PConstants { emissiveLoc = getAttributeLoc("emissive"); shininessLoc = getAttributeLoc("shininess"); - directionLoc = getAttributeLoc("direction"); - - offsetLoc = getAttributeLoc("offset"); - directionLoc = getAttributeLoc("direction"); offsetLoc = getAttributeLoc("offset");