mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 08:29:18 +01:00
Fix swapped U and V check
This commit is contained in:
parent
59278224f7
commit
a1a96d762a
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ public class UldWrapper : IDisposable
|
||||||
|
|
||||||
private IDalamudTextureWrap? CopyRect(int width, int height, byte[] rgbaData, UldRoot.PartData part)
|
private IDalamudTextureWrap? CopyRect(int width, int height, byte[] rgbaData, UldRoot.PartData part)
|
||||||
{
|
{
|
||||||
if (part.V + part.W > width || part.U + part.H > height)
|
if (part.U + part.W > width || part.V + part.H > height)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue