mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #2869 from liam-middlebrook/feature/uniformMessageFix
Refined PShader uniform missing message fixes #2593
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user