mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
The CanvasRenderer
no longer reads or uses the Game Config resolution property.
This commit is contained in:
parent
b63cc75154
commit
37a9261ac4
1 changed files with 0 additions and 3 deletions
|
@ -86,7 +86,6 @@ var CanvasRenderer = new Class({
|
|||
this.config = {
|
||||
clearBeforeRender: game.config.clearBeforeRender,
|
||||
backgroundColor: game.config.backgroundColor,
|
||||
resolution: game.config.resolution,
|
||||
antialias: game.config.antialias,
|
||||
roundPixels: game.config.roundPixels
|
||||
};
|
||||
|
@ -229,8 +228,6 @@ var CanvasRenderer = new Class({
|
|||
*
|
||||
* @param {Phaser.Structs.Size} gameSize - The default Game Size object. This is the un-modified game dimensions.
|
||||
* @param {Phaser.Structs.Size} baseSize - The base Size object. The game dimensions multiplied by the resolution. The canvas width / height values match this.
|
||||
* @param {Phaser.Structs.Size} displaySize - The display Size object. The size of the canvas style width / height attributes.
|
||||
* @param {number} [resolution] - The Scale Manager resolution setting.
|
||||
*/
|
||||
onResize: function (gameSize, baseSize)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue