Skip to content

Commit

Permalink
Fix wrong kImageChartIndexMask, wasn't updated when kImageIsBilinearB…
Browse files Browse the repository at this point in the history
…it was added.
  • Loading branch information
jpcy committed Jul 31, 2019
1 parent fda9519 commit 749a0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xatlas.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct Mesh
uint32_t vertexCount;
};

static const uint32_t kImageChartIndexMask = 0x3FFFFFFF;
static const uint32_t kImageChartIndexMask = 0x1FFFFFFF;
static const uint32_t kImageHasChartIndexBit = 0x80000000;
static const uint32_t kImageIsBilinearBit = 0x40000000;
static const uint32_t kImageIsPaddingBit = 0x20000000;
Expand Down

0 comments on commit 749a0ad

Please sign in to comment.