diff --git a/core/src/processing/opengl/PShader.java b/core/src/processing/opengl/PShader.java index 2009cb886..42a1ebfcf 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");