Changeset 47605 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Aug 8, 2013 7:46:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r47604 r47605 1959 1959 if (!ui && version == SHCROGL_SSM_VERSION_WITH_BUGGY_MURAL_INFO) 1960 1960 { 1961 /* Lookahead buffer used to determine whether the data erroneously stor red root visible regions data */1961 /* Lookahead buffer used to determine whether the data erroneously stored root visible regions data */ 1962 1962 union 1963 1963 { … … 1971 1971 do { 1972 1972 /* 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 */ 1975 1974 rc = crServerLsrDataGetMem(pReader, &LaBuf, sizeof (LaBuf)); 1976 1975 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)) 1978 1977 break; 1979 1978
Note:
See TracChangeset
for help on using the changeset viewer.