Skip to content

Commit

Permalink
Refined PShader uniform missing message fixes #2593
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-middlebrook committed Sep 17, 2014
1 parent eb3f16e commit 606dfbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/processing/opengl/PShader.java
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,8 @@ protected void setUniformImpl(String name, int type, Object value) {
uniformValues.put(loc, new UniformValue(type, value));
} else {
PGraphics.showWarning("The shader doesn't have a uniform called \"" +
name + "\"");
name + "\" OR the uniform was removed during" +
"compilation because it was unsued.");
}
}

Expand Down

0 comments on commit 606dfbd

Please sign in to comment.