ncannasse 12 年之前
父节点
当前提交
ba6aef6206
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      h2d/CachedBitmap.hx

+ 1 - 0
h2d/CachedBitmap.hx

@@ -76,6 +76,7 @@ class CachedBitmap extends Sprite {
 		tmp.y = tile.v2 - tile.v;
 		b.shader.uvScale = tmp;
 		b.shader.mcolor = colorMatrix == null ? h3d.Matrix.I() : colorMatrix;
+		var tmp = core.tmpColor;
 		if( colorAdd == null ) {
 			tmp.x = 0;
 			tmp.y = 0;