mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Merge pull request #3438 from jmcriat/patch-2
(WebGL) updating currentScissor on game.resize
This commit is contained in:
commit
d62dd0aa62
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue