Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Errors in glsl code are only caught when set() is used #2268
These code snippets will explain the issue better:
Is it by design that loadShader doesn't catch syntax errors in glsl code?
Still trying to figure out that one. Here's a full sketch illustrating the issue:
This is the output:
See full output: http://pastebin.com/raw.php?i=cbUvjigW
If you change the following
The output is more like what you'd expect:
Where does the
Any ideas as to what is going on?