Changeset 16551 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
- Timestamp:
- Feb 6, 2009 3:19:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
r15532 r16551 908 908 if (pContext->attrib.enableStack[i].clip) 909 909 { 910 rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.enableStack[i].clip,910 rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.enableStack[i].clip, 911 911 pContext->limits.maxClipPlanes*sizeof(GLboolean)); 912 912 AssertRCReturn(rc, rc); … … 915 915 if (pContext->attrib.enableStack[i].light) 916 916 { 917 rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.enableStack[i].light,917 rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.enableStack[i].light, 918 918 pContext->limits.maxLights*sizeof(GLboolean)); 919 919 AssertRCReturn(rc, rc); … … 922 922 if (pContext->attrib.lightingStack[i].light) 923 923 { 924 rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.lightingStack[i].light,924 rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.lightingStack[i].light, 925 925 pContext->limits.maxLights*sizeof(CRLight)); 926 926 AssertRCReturn(rc, rc); … … 935 935 if (pContext->attrib.transformStack[i].clip) 936 936 { 937 rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.transformStack[i].clip,937 rc = crStateAllocAndSSMR3GetMem(pSSM, (void*)&pContext->attrib.transformStack[i].clip, 938 938 pContext->limits.maxClipPlanes*sizeof(GLboolean)); 939 939 AssertRCReturn(rc, rc); … … 942 942 if (pContext->attrib.transformStack[i].clipPlane) 943 943 { 944 rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.transformStack[i].clipPlane,944 rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.transformStack[i].clipPlane, 945 945 pContext->limits.maxClipPlanes*sizeof(GLvectord)); 946 946 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.