mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
(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:
parent
00b0f1b965
commit
f9e978a2bd
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue