mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Flip the Y on textures
This commit is contained in:
parent
90d05a0f34
commit
638fd113b5
1 changed files with 4 additions and 0 deletions
|
@ -433,6 +433,10 @@ var SpriteFXPipeline = new Class({
|
|||
{
|
||||
// Proxy this call to the MultiPipeline
|
||||
// batchQuad will intercept the rendering
|
||||
|
||||
// Needed for Text & TileSprite - how about others?
|
||||
flipY = true;
|
||||
|
||||
MultiPipeline.prototype.batchTexture.call(this, gameObject, texture, textureWidth, textureHeight, srcX, srcY, srcWidth, srcHeight, scaleX, scaleY, rotation, flipX, flipY, scrollFactorX, scrollFactorY, displayOriginX, displayOriginY, frameX, frameY, frameWidth, frameHeight, tintTL, tintTR, tintBL, tintBR, tintEffect, uOffset, vOffset, camera, parentTransformMatrix, skipFlip, textureUnit);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue