VirtualBox

Ignore:
Timestamp:
Aug 8, 2013 7:46:25 AM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r47604 r47605  
    19591959        if (!ui && version == SHCROGL_SSM_VERSION_WITH_BUGGY_MURAL_INFO)
    19601960        {
    1961             /* Lookahead buffer used to determine whether the data erroneously storred root visible regions data */
     1961            /* Lookahead buffer used to determine whether the data erroneously stored root visible regions data */
    19621962            union
    19631963            {
     
    19711971            do {
    19721972                /* first value is bool (uint8_t) value followed by pointer-size-based alignment.
    1973                  * the mural memory is zero-initialized initially, so we can be sure the padding is zeroed,
    1974                  * i.e. possible values for visible regions data are 0 or (1 << (sizeof (void*) - 8)) */
     1973                 * the mural memory is zero-initialized initially, so we can be sure the padding is zeroed */
    19751974                rc = crServerLsrDataGetMem(pReader, &LaBuf, sizeof (LaBuf));
    19761975                AssertRCReturn(rc, rc);
    1977                 if (LaBuf.apv[0] != NULL && LaBuf.apv[0] != ((void*)(1 << (sizeof (void*) - 8))))
     1976                if (LaBuf.apv[0] != NULL && LaBuf.apv[0] != ((void*)1))
    19781977                    break;
    19791978
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