Fix texture wrap mode.

This commit is contained in:
2022-11-15 20:12:24 +08:00
parent 53ada70dda
commit 1772c90c2f

View File

@@ -157,6 +157,7 @@ namespace Cryville.Crtr {
#if UNITY_5_4_OR_NEWER
if (texHandler.isDone) {
var tex = texHandler.texture;
tex.wrapMode = TextureWrapMode.Clamp;
texs.Add(name, tex);
Logger.Log("main", 0, "Load/MainThread", "Loaded texture {0} ({1} bytes)", name, texLoader.downloadedBytes);
texLoader.Dispose();