Merge pull request #3438 from jmcriat/patch-2

(WebGL) updating currentScissor on game.resize
This commit is contained in:
Richard Davey 2018-03-21 12:52:06 +00:00 committed by GitHub
commit d62dd0aa62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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