VirtualBox

Changeset 98372 in vbox


Ignore:
Timestamp:
Feb 1, 2023 9:10:40 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155614
Message:

FE/SDL: Fixed compilation on Linux (got broken in r155613). ​bugref:9449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r98371 r98372  
    35463546        bool ok = false;
    35473547
     3548#if defined(RT_OS_WINDOWS) || (defined(VBOXSDL_WITH_X11) && !defined(VBOX_WITHOUT_XCURSOR))
     3549        AssertReturnVoid(data->height); /* Prevent division by zero. */
     3550        uint32_t const  andMaskSize = (data->width + 7) / 8 * data->height;
     3551        uint32_t const  srcShapePtrScan = data->width * 4;
     3552
     3553        uint8_t  const *shape = data->shape.raw();
     3554        uint8_t  const *srcAndMaskPtr = shape;
     3555        uint8_t  const *srcShapePtr = shape + ((andMaskSize + 3) & ~3);
     3556#endif
     3557
    35483558#if 0
    35493559        /* pointer debugging code */
Note: See TracChangeset for help on using the changeset viewer.

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