Merge pull request #2869 from liam-middlebrook/feature/uniformMessageFix

Refined PShader uniform missing message fixes #2593
This commit is contained in:
codeanticode
2014-09-24 09:40:46 -04:00
+2 -1
View File
@@ -753,7 +753,8 @@ public class PShader implements PConstants {
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 unused.");
}
}