Skip to content

Commit

Permalink
Use the propper image format
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Jun 14, 2024
1 parent 3a06943 commit 5ed06f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sprites.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

static QImage sdf2img(const QImage &sdf, const QColor &color)
{
QImage img(sdf.convertToFormat(QImage::Format_ARGB32_Premultiplied));
QImage img(sdf.convertToFormat(QImage::Format_ARGB32));
quint32 argb = color.rgba();
uchar *bits = img.bits();
int bpl = img.bytesPerLine();
Expand Down

0 comments on commit 5ed06f9

Please sign in to comment.