儲存庫 vbox 的更動 16551
- 時間撮記:
- 2009-2-6 下午03:19:05 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器