mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
Update gdi canvas wrt latest changes
ALIGN -> SPICE_ALIGN
This commit is contained in:
parent
52ec6a48ee
commit
454f44470d
@ -574,10 +574,10 @@ static uint8_t *create_bitmap(HBITMAP *bitmap, HBITMAP *prev_bitmap, HDC *dc,
|
||||
|
||||
switch (bits) {
|
||||
case 1:
|
||||
nstride = ALIGN(width, 32) / 8;
|
||||
nstride = SPICE_ALIGN(width, 32) / 8;
|
||||
break;
|
||||
case 8:
|
||||
nstride = ALIGN(width, 4);
|
||||
nstride = SPICE_ALIGN(width, 4);
|
||||
break;
|
||||
case 32:
|
||||
nstride = width * 4;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user