Changeset 41132 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
- Timestamp:
- May 3, 2012 12:02:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
r41128 r41132 80 80 #define SHCROGL_CUT_FIELD_ALIGNMENT(_type, _prevField, _field) do { \ 81 81 const int32_t cbAlignment = SHCROGL_CUT_FIELD_ALIGNMENT_SIZE(_type, _prevField, _field) ; \ 82 AssertCompile(SHCROGL_CUT_FIELD_ALIGNMENT_SIZE(_type, _prevField, _field) >= 0 && SHCROGL_CUT_FIELD_ALIGNMENT_SIZE(_type, _prevField, _field) < sizeof (void*));\82 /*AssertCompile(SHCROGL_CUT_FIELD_ALIGNMENT_SIZE(_type, _prevField, _field) >= 0 && SHCROGL_CUT_FIELD_ALIGNMENT_SIZE(_type, _prevField, _field) < sizeof (void*));*/ \ 83 83 if (cbAlignment) { \ 84 void *Tmp; \ 85 rc = SSMR3GetMem(pSSM, &Tmp, cbAlignment); \ 84 rc = SSMR3Skip(pSSM, cbAlignment); \ 86 85 } \ 87 86 } while (0) … … 90 89 #define SHCROGL_CUT_TAIL_ALIGNMENT(_type, _lastField) do { \ 91 90 const int32_t cbAlignment = SHCROGL_CUT_TAIL_ALIGNMENT_SIZE(_type, _lastField); \ 92 AssertCompile(SHCROGL_CUT_TAIL_ALIGNMENT_SIZE(_type, _lastField) >= 0 && SHCROGL_CUT_TAIL_ALIGNMENT_SIZE(_type, _lastField) < sizeof (void*));\91 /*AssertCompile(SHCROGL_CUT_TAIL_ALIGNMENT_SIZE(_type, _lastField) >= 0 && SHCROGL_CUT_TAIL_ALIGNMENT_SIZE(_type, _lastField) < sizeof (void*));*/ \ 93 92 if (cbAlignment) { \ 94 void *Tmp; \ 95 rc = SSMR3GetMem(pSSM, &Tmp, cbAlignment); \ 93 rc = SSMR3Skip(pSSM, cbAlignment); \ 96 94 } \ 97 95 } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.