VirtualBox

Changeset 22165 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 11, 2009 1:50:17 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: add warning window when additions version is incompatible (#4108)

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r22163 r22165  
    17901790                parm.type = VBOX_HGCM_SVC_PARM_PTR;
    17911791
    1792                 //parm.u.pointer.addr = static_cast <IConsole *> (pData->pVMMDev->getParent());
    1793                 parm.u.pointer.addr = pConsole->mVMMDev->getParent()->getDisplay()->getFramebuffer();
     1792                parm.u.pointer.addr = pConsole->getDisplay()->getFramebuffer();
    17941793                parm.u.pointer.size = sizeof(IFramebuffer *);
    17951794
     
    17971796                if (!RT_SUCCESS(rc))
    17981797                    AssertMsgFailed(("SHCRGL_HOST_FN_SET_FRAMEBUFFER failed with %Rrc\n", rc));
    1799                 }
     1798
     1799                parm.u.pointer.addr = pVM;
     1800                parm.u.pointer.size = sizeof(pVM);
     1801                rc = pConsole->mVMMDev->hgcmHostCall("VBoxSharedCrOpenGL", SHCRGL_HOST_FN_SET_VM, 1, &parm);
     1802                if (!RT_SUCCESS(rc))
     1803                    AssertMsgFailed(("SHCRGL_HOST_FN_SET_VM failed with %Rrc\n", rc));
     1804            }
     1805
    18001806        }
    18011807    }
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r22143 r22165  
    57815781          <li><tt>"HostAudioNotResponding"</tt></li>
    57825782          <li><tt>"VDIStorageFull"</tt></li>
     5783          <li><tt>"3DSupportIncompatibleAdditions"</tt></li>
    57835784        </ul>
    57845785
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