This commit is contained in:
Soreepeong 2024-02-28 19:16:14 +09:00
parent aa35052a15
commit f8492dc06b
18 changed files with 410 additions and 361 deletions

View file

@ -125,7 +125,7 @@ public class UldWrapper : IDisposable
inputSlice.CopyTo(outputSlice);
}
return this.textureManager.GetFromRaw(RawImageSpecification.Rgba32(part.W, part.H), imageData);
return this.textureManager.CreateFromRaw(RawImageSpecification.Rgba32(part.W, part.H), imageData);
}
private (uint Id, int Width, int Height, bool HD, byte[] RgbaData)? GetTexture(string texturePath)