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

+ 0 - 5
h2d/Video.hx

@@ -114,11 +114,6 @@ class Video extends Drawable {
 			pixels = new hxd.Pixels(w, h, haxe.io.Bytes.alloc(w * h * 4), h3d.mat.Texture.nativeFormat);
 			texture = new h3d.mat.Texture(w, h);
 			tile = h2d.Tile.fromTexture(texture);
-			if( h3d.mat.Texture.nativeFlip ) {
-				pixels.flags.set(FlipY);
-				tile.flipY();
-				tile.dy = 0;
-			}
 		}
 		if( frameReady ) {
 			texture.uploadPixels(pixels);