From 39c3866179802cea2983ec37caa6ab186283bf27 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 28 Jun 2018 13:07:59 +0100 Subject: [PATCH] lint fix --- src/renderer/webgl/pipelines/TextureTintPipeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/webgl/pipelines/TextureTintPipeline.js b/src/renderer/webgl/pipelines/TextureTintPipeline.js index 3e34b5304..d71e33248 100644 --- a/src/renderer/webgl/pipelines/TextureTintPipeline.js +++ b/src/renderer/webgl/pipelines/TextureTintPipeline.js @@ -1883,8 +1883,10 @@ var TextureTintPipeline = new Class({ var height = srcHeight * (flipY ? -1.0 : 1.0); var x = -displayOriginX + ((srcWidth) * (flipX ? 1.0 : 0.0)); var y = -displayOriginY + ((srcHeight) * (flipY ? 1.0 : 0.0)); + // var x = -displayOriginX + frameX + ((frameWidth) * (flipX ? 1.0 : 0.0)); // var y = -displayOriginY + frameY + ((frameHeight) * (flipY ? 1.0 : 0.0)); + var xw = (roundPixels ? (x | 0) : x) + width; var yh = (roundPixels ? (y | 0) : y) + height; var sr = Math.sin(rotation);