Changeset 11642 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Aug 26, 2008 7:37:36 AM (16 years ago)
- 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 179 179 parms.pString.type = VMMDevHGCMParmType_LinAddr; 180 180 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; 182 182 183 183 int rc = vboxHGCMCall(&parms, sizeof (parms)); … … 356 356 parms.pCmdBuffer.type = VMMDevHGCMParmType_LinAddr_In; 357 357 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; 359 359 parms.cCommands.type = VMMDevHGCMParmType_32bit; 360 360 parms.cCommands.u.value32 = pCtx->cCommands; … … 404 404 parms.pCmdBuffer.type = VMMDevHGCMParmType_LinAddr_In; 405 405 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; 407 407 parms.cCommands.type = VMMDevHGCMParmType_32bit; 408 408 parms.cCommands.u.value32 = pCtx->cCommands; … … 416 416 parms.pLastParam.type = VMMDevHGCMParmType_LinAddr; 417 417 parms.pLastParam.u.Pointer.size = cbParam; 418 parms.pLastParam.u.Pointer.u.linearAddr = ( vmmDevHypPtr)pLastParam;418 parms.pLastParam.u.Pointer.u.linearAddr = (VMMDEVHYPPTR)pLastParam; 419 419 } 420 420 else … … 462 462 parms.pszExtFnName.type = VMMDevHGCMParmType_LinAddr_In; 463 463 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; 465 465 466 466 int rc = vboxHGCMCall(&parms, sizeof (parms)); -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp
r8387 r11642 50 50 parms.pString.type = VMMDevHGCMParmType_LinAddr; 51 51 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; 53 53 54 54 rc = vboxHGCMCall(&parms, sizeof (parms));
Note:
See TracChangeset
for help on using the changeset viewer.