VirtualBox

儲存庫 vbox 的更動 16551


忽略:
時間撮記:
2009-2-6 下午03:19:05 (16 年 以前)
作者:
vboxsync
訊息:

typecast to prevent warnings

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c

    r15532 r16551  
    908908        if (pContext->attrib.enableStack[i].clip)
    909909        {
    910             rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.enableStack[i].clip,
     910            rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.enableStack[i].clip,
    911911                                            pContext->limits.maxClipPlanes*sizeof(GLboolean));
    912912            AssertRCReturn(rc, rc);
     
    915915        if (pContext->attrib.enableStack[i].light)
    916916        {
    917             rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.enableStack[i].light,
     917            rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.enableStack[i].light,
    918918                                            pContext->limits.maxLights*sizeof(GLboolean));
    919919            AssertRCReturn(rc, rc);
     
    922922        if (pContext->attrib.lightingStack[i].light)
    923923        {
    924             rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.lightingStack[i].light,
     924            rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.lightingStack[i].light,
    925925                                            pContext->limits.maxLights*sizeof(CRLight));
    926926            AssertRCReturn(rc, rc);
     
    935935        if (pContext->attrib.transformStack[i].clip)
    936936        {
    937             rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.transformStack[i].clip,
     937            rc = crStateAllocAndSSMR3GetMem(pSSM, (void*)&pContext->attrib.transformStack[i].clip,
    938938                                            pContext->limits.maxClipPlanes*sizeof(GLboolean));
    939939            AssertRCReturn(rc, rc);
     
    942942        if (pContext->attrib.transformStack[i].clipPlane)
    943943        {
    944             rc = crStateAllocAndSSMR3GetMem(pSSM, &pContext->attrib.transformStack[i].clipPlane,
     944            rc = crStateAllocAndSSMR3GetMem(pSSM, (void**)&pContext->attrib.transformStack[i].clipPlane,
    945945                                            pContext->limits.maxClipPlanes*sizeof(GLvectord));
    946946            AssertRCReturn(rc, rc);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette