From 7c9be3cf9e54511a4832584d09c62eeff7f0fd71 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Thu, 27 May 2021 21:24:46 +0900 Subject: [PATCH] remove debug code --- Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs b/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs index 364516842..e53fdd159 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs @@ -9,7 +9,6 @@ namespace VRMShaders public static Texture2D CreateEmptyTextureWithSettings(Texture src, ColorSpace dstColorSpace, bool dstNeedsAlpha) { var texFormat = dstNeedsAlpha ? TextureFormat.ARGB32 : TextureFormat.RGB24; - texFormat = TextureFormat.ARGB32; var dst = new Texture2D(src.width, src.height, texFormat, src.HasMipMap(), dstColorSpace == ColorSpace.Linear); dst.name = src.name; dst.anisoLevel = src.anisoLevel;