mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Remove a couple of duplicate variable assignments
This commit is contained in:
parent
6deffce156
commit
7167120d01
2 changed files with 0 additions and 3 deletions
|
@ -167,7 +167,6 @@ EffectRenderer.prototype = {
|
|||
renderEffect: function (gameObject, camera, texture, textureWidth, textureHeight)
|
||||
{
|
||||
var tempMatrix = this.tempMatrix;
|
||||
var alpha = 16777216;
|
||||
var vertexDataBuffer = this.vertexDataBuffer;
|
||||
var vertexBufferObjectF32 = vertexDataBuffer.floatView;
|
||||
var vertexBufferObjectU32 = vertexDataBuffer.uintView;
|
||||
|
|
|
@ -435,7 +435,6 @@ SpriteBatch.prototype = {
|
|||
addSpriteTexture: function (gameObject, camera, texture, textureWidth, textureHeight)
|
||||
{
|
||||
var tempMatrix = this.tempMatrix;
|
||||
var alpha = 16777216;
|
||||
var vertexDataBuffer = this.vertexDataBuffer;
|
||||
var vertexBufferObjectF32 = vertexDataBuffer.floatView;
|
||||
var vertexBufferObjectU32 = vertexDataBuffer.uintView;
|
||||
|
@ -528,7 +527,6 @@ SpriteBatch.prototype = {
|
|||
{
|
||||
var tempMatrix = this.tempMatrix;
|
||||
var frame = gameObject.frame;
|
||||
var alpha = 16777216;
|
||||
var forceFlipY = (frame.texture.source[frame.sourceIndex].glTexture.isRenderTexture ? true : false);
|
||||
var flipX = gameObject.flipX;
|
||||
var flipY = gameObject.flipY ^ forceFlipY;
|
||||
|
|
Loading…
Reference in a new issue