Skip to content

Commit 28eaec2

Browse files
authored
Update PShader.java
Unnecessary redundant code
1 parent 5b5f6eb commit 28eaec2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/src/processing/opengl/PShader.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,10 +1139,6 @@ protected void loadAttributes() {
11391139
emissiveLoc = getAttributeLoc("emissive");
11401140
shininessLoc = getAttributeLoc("shininess");
11411141

1142-
directionLoc = getAttributeLoc("direction");
1143-
1144-
offsetLoc = getAttributeLoc("offset");
1145-
11461142
directionLoc = getAttributeLoc("direction");
11471143
offsetLoc = getAttributeLoc("offset");
11481144

0 commit comments

Comments
 (0)