Removed PixiDefaults.

This commit is contained in:
Richard Davey 2016-10-07 03:23:38 +01:00
parent 0abf9d958d
commit 1262ba7e51
2 changed files with 0 additions and 36 deletions

View file

@ -485,12 +485,6 @@ EOL;
EOL;
}
echo <<<EOL
<script src="$path/src/PixiDefaults.js"></script>
EOL;
if (isset($custom))
{
for ($i = 0; $i < count($custom); $i++)

View file

@ -1,30 +0,0 @@
/* global Phaser:true */
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
// Pixi expects these globals to exist
// if (PIXI.blendModes === undefined)
// {
// PIXI.blendModes = Phaser.blendModes;
// }
if (PIXI.scaleModes === undefined)
{
PIXI.scaleModes = Phaser.scaleModes;
}
// if (PIXI.Texture.emptyTexture === undefined)
// {
// PIXI.Texture.emptyTexture = new PIXI.Texture(new PIXI.BaseTexture());
// }
// if (PIXI.DisplayObject._tempMatrix === undefined)
// {
// PIXI.DisplayObject._tempMatrix = new PIXI.Matrix();
// }
// PIXI.TextureSilentFail = true;