Fix rgba ordering
This commit is contained in:
parent
cb7ec05d76
commit
a4a4eb7783
2 changed files with 6 additions and 6 deletions
|
|
@ -114,9 +114,9 @@ impl<'a> SwashCache<'a> {
|
|||
x + off_x,
|
||||
y + off_y,
|
||||
Color::rgba(
|
||||
image.data[i + 2],
|
||||
image.data[i + 1],
|
||||
image.data[i],
|
||||
image.data[i + 1],
|
||||
image.data[i + 2],
|
||||
image.data[i + 3]
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue