Changeset 98372 in vbox
- Timestamp:
- Feb 1, 2023 9:10:40 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155614
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r98371 r98372 3546 3546 bool ok = false; 3547 3547 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 3548 3558 #if 0 3549 3559 /* pointer debugging code */
Note:
See TracChangeset
for help on using the changeset viewer.