(WebGL) updating currentScissor on game.resize

with the array being update it solves the issue with the global background not being fully draw after resizing the game.
This commit is contained in:
José Maria 2018-03-20 23:38:00 -03:00 committed by GitHub
parent 00b0f1b965
commit f9e978a2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -481,6 +481,8 @@ var WebGLRenderer = new Class({
pipelines[pipelineName].resize(width, height, resolution);
}
this.currentScissor.set([ 0, 0, this.width, this.height ]);
return this;
},