Flip the Y on textures

This commit is contained in:
Richard Davey 2021-10-16 15:23:33 +01:00
parent 90d05a0f34
commit 638fd113b5

View file

@ -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);
},