mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-25 16:08:02 +00:00
Add loopMaxIterations option
This commit is contained in:
parent
ec9c3304e2
commit
e175f8a1a3
@ -348,7 +348,6 @@ var functionNode_webgl = (function() {
|
||||
if (forNode.test.right.type == "Identifier"
|
||||
&& forNode.test.operator == "<") {
|
||||
|
||||
console.log(opt.loopMaxIterations);
|
||||
if (opt.loopMaxIterations === undefined) {
|
||||
console.warn("Warning: loopMaxIterations is not set! Using default of 100 which may result in unintended behavior.");
|
||||
console.warn("Set loopMaxIterations or use a for loop of fixed length to silence this message.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user