mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
remove attempt at mask alignment
This commit is contained in:
parent
ad1336ac45
commit
bc4401414b
@ -490,8 +490,15 @@ PLANEPTR ami_bitmap_get_mask(struct bitmap *bitmap, int width, int height)
|
||||
bitmap->native_mask = AllocRaster(width, height);
|
||||
|
||||
w = width / 8;
|
||||
if((width % 8) != 0) w++;
|
||||
|
||||
/*
|
||||
int wu = width;
|
||||
while((wu % 16) != 0) {
|
||||
wu += 8;
|
||||
w++;
|
||||
}
|
||||
*/
|
||||
|
||||
for(int i=0; i<(height * (width / 8)); i++) {
|
||||
bitmap->native_mask[i] = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user