mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:25:31 +00:00
Added 1 pixel to packing distances - seems to reduce packing artifacts at the seams.
This commit is contained in:
parent
805f2373e6
commit
a1421c2326
|
@ -152,8 +152,8 @@ namespace OpenTK
|
|||
left = new Node();
|
||||
right = new Node();
|
||||
|
||||
int dw = this.rect.Width - item.Width;
|
||||
int dh = this.rect.Height - item.Height;
|
||||
int dw = this.rect.Width - item.Width + 1;
|
||||
int dh = this.rect.Height - item.Height + 1;
|
||||
|
||||
if (dw > dh)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue