fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@329 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c30431f166
commit
dd2e8e1d57
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ MwLLPixmap MwLLCreatePixmap(MwLL handle, unsigned char* data, int width, int hei
|
|||
MwLLFreeColor(c);
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue