VirtualBox

Changeset 5437 in vbox for trunk/src


Ignore:
Timestamp:
Oct 22, 2007 9:37:59 AM (17 years ago)
Author:
vboxsync
Message:

Guest Additions: fixed a problem with pointer colours with ARGB pointers in Linux guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/xgraphics/vboxutils.c

    r4071 r5437  
    723723
    724724    /* 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;
    726727
    727728    if (!w || !h || w > VBOX_MAX_CURSOR_WIDTH || h > VBOX_MAX_CURSOR_HEIGHT)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette