VirtualBox

Changeset 11642 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Aug 26, 2008 7:37:36 AM (16 years ago)
Author:
vboxsync
Message:

another guest additions 32/64 bit hack

Location:
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxOGL.cpp

    r10552 r11642  
    179179    parms.pString.type                   = VMMDevHGCMParmType_LinAddr;
    180180    parms.pString.u.Pointer.size         = sizeof(szOpenGLVersion);
    181     parms.pString.u.Pointer.u.linearAddr = (vmmDevHypPtr)szOpenGLVersion;
     181    parms.pString.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)szOpenGLVersion;
    182182
    183183    int rc = vboxHGCMCall(&parms, sizeof (parms));
     
    356356    parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr_In;
    357357    parms.pCmdBuffer.u.Pointer.size         = pCtx->pCurrentCmd - pCtx->pCmdBuffer;
    358     parms.pCmdBuffer.u.Pointer.u.linearAddr = (vmmDevHypPtr)pCtx->pCmdBuffer;
     358    parms.pCmdBuffer.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)pCtx->pCmdBuffer;
    359359    parms.cCommands.type                    = VMMDevHGCMParmType_32bit;
    360360    parms.cCommands.u.value32               = pCtx->cCommands;
     
    404404    parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr_In;
    405405    parms.pCmdBuffer.u.Pointer.size         = pCtx->pCurrentCmd - pCtx->pCmdBuffer;
    406     parms.pCmdBuffer.u.Pointer.u.linearAddr = (vmmDevHypPtr)pCtx->pCmdBuffer;
     406    parms.pCmdBuffer.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)pCtx->pCmdBuffer;
    407407    parms.cCommands.type                    = VMMDevHGCMParmType_32bit;
    408408    parms.cCommands.u.value32               = pCtx->cCommands;
     
    416416        parms.pLastParam.type                   = VMMDevHGCMParmType_LinAddr;
    417417        parms.pLastParam.u.Pointer.size         = cbParam;
    418         parms.pLastParam.u.Pointer.u.linearAddr = (vmmDevHypPtr)pLastParam;
     418        parms.pLastParam.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)pLastParam;
    419419    }
    420420    else
     
    462462    parms.pszExtFnName.type                   = VMMDevHGCMParmType_LinAddr_In;
    463463    parms.pszExtFnName.u.Pointer.size         = strlen(pszExtFunctionName)+1;
    464     parms.pszExtFnName.u.Pointer.u.linearAddr = (vmmDevHypPtr)pszExtFunctionName;
     464    parms.pszExtFnName.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)pszExtFunctionName;
    465465
    466466    int rc = vboxHGCMCall(&parms, sizeof (parms));
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp

    r8387 r11642  
    5050    parms.pString.type                   = VMMDevHGCMParmType_LinAddr;
    5151    parms.pString.u.Pointer.size         = sizeof(szOpenGLExtensions);
    52     parms.pString.u.Pointer.u.linearAddr = (vmmDevHypPtr)szOpenGLExtensions;
     52    parms.pString.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)szOpenGLExtensions;
    5353
    5454    rc = vboxHGCMCall(&parms, sizeof (parms));
Note: See TracChangeset for help on using the changeset viewer.

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