mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 03:13:28 +00:00
fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@329 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -403,7 +403,7 @@ MwLLPixmap MwLLCreatePixmap(MwLL handle, unsigned char* data, int width, int hei
|
|||||||
MwLLFreeColor(c);
|
MwLLFreeColor(c);
|
||||||
|
|
||||||
XPutPixel(r->image, x, y, p);
|
XPutPixel(r->image, x, y, p);
|
||||||
*(unsigned long*)(&r->data[(y * width + x) * sizeof(unsigned long)]) = p;
|
*(unsigned long*)(&r->data[(y * width + x) * sizeof(unsigned long)]) = (px[3] << 24) | p;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user