- Timestamp:
- Oct 22, 2007 9:37:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/xgraphics/vboxutils.c
r4071 r5437 723 723 724 724 /* Mask must be generated for alpha cursors, that is required by VBox. */ 725 mask_size = (w + 7) / 8 * h; 725 /* @note: (michael) the next struct must be 32bit aligned. */ 726 mask_size = ((w + 7) / 8 * h + 3) & ~3; 726 727 727 728 if (!w || !h || w > VBOX_MAX_CURSOR_WIDTH || h > VBOX_MAX_CURSOR_HEIGHT)
Note:
See TracChangeset
for help on using the changeset viewer.