Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions examples/pxScene2d/src/rcvrcore/initGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ var xxsetInterval = function(f,i){
f.apply(null,rest);
this.global.endDrawing(); }
catch(e) {
console.log("exception during draw in setInterval !!");
console.error(e.stack||e);
console.log("EXCEPTION: Exception during draw in setInterval !!");
}}.bind(this)
}.bind(this)(),i)
this._intervals.push(interval)
Expand All @@ -167,8 +168,8 @@ var xxsetTimeout = function(f,t){
f.apply(null,rest);
this.global.endDrawing();
} catch(e) {
console.log(e);
console.log("exception during draw in setTimeout !!");
console.error(e.stack||e);
console.log("EXCEPTION: Exception during draw in setTimeout !!");
}
//console.log('after end Drawing2')
var index = this._timeouts.indexOf(timeout)
Expand Down Expand Up @@ -199,8 +200,8 @@ var xxsetImmediate = function(f){
f.apply(null,rest)
if (this.active) this.global.endDrawing();
} catch(e) {
console.log(e);
console.log("exception during draw in setImmediate !!");
console.error(e.stack||e);
console.log("EXCEPTION: Exception during draw in setImmediate !!");
}
//console.log('after end Drawing3')
var index = this._immediates.indexOf(timeout)
Expand Down