remove debug code

This commit is contained in:
Masataka SUMI
2021-05-27 21:24:46 +09:00
parent 44bced7f3d
commit 7c9be3cf9e

View File

@@ -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;