VirtualBox

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


Ignore:
Timestamp:
Jul 5, 2007 9:29:12 AM (18 years ago)
Author:
vboxsync
Message:

The command buffer is read only

File:
1 edited

Legend:

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

    r3433 r3440  
    378378    VBOX_INIT_CALL(&parms.hdr, GLFLUSH, pCtx);
    379379
    380     parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr;
     380    parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr_In;
    381381    parms.pCmdBuffer.u.Pointer.size         = pCtx->pCurrentCmd - pCtx->pCmdBuffer;
    382382    parms.pCmdBuffer.u.Pointer.u.linearAddr = (vmmDevHypPtr)pCtx->pCmdBuffer;
     
    426426    VBOX_INIT_CALL(&parms.hdr, GLFLUSHPTR, pCtx);
    427427
    428     parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr;
     428    parms.pCmdBuffer.type                   = VMMDevHGCMParmType_LinAddr_In;
    429429    parms.pCmdBuffer.u.Pointer.size         = pCtx->pCurrentCmd - pCtx->pCmdBuffer;
    430430    parms.pCmdBuffer.u.Pointer.u.linearAddr = (vmmDevHypPtr)pCtx->pCmdBuffer;
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