VirtualBox

Ignore:
Timestamp:
May 21, 2014 7:46:25 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93813
Message:

crOpenGL: more extended flexible caps info, backwards compatibility fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r51320 r51330  
    840840}
    841841
    842 extern DECLEXPORT(int32_t) crVBoxServerClientGetCaps(uint32_t u32ClientID, uint32_t *pu32Caps)
    843 {
    844     *pu32Caps = cr_server.u32Caps;
     842extern DECLEXPORT(int32_t) crVBoxServerClientGetCapsLegacy(uint32_t u32ClientID, uint32_t *pu32Caps)
     843{
     844    uint32_t u32Caps = cr_server.u32Caps;
     845    u32Caps &= ~CR_VBOX_CAP_CMDVBVA;
     846    *pu32Caps = u32Caps;
     847    return VINF_SUCCESS;
     848}
     849
     850extern DECLEXPORT(int32_t) crVBoxServerClientGetCapsNew(uint32_t u32ClientID, CR_CAPS_INFO *pInfo)
     851{
     852    pInfo->u32Caps = cr_server.u32Caps;
     853    pInfo->u32CmdVbvaVersion = CR_CMDVBVA_VERSION;
    845854    return VINF_SUCCESS;
    846855}
Note: See TracChangeset for help on using the changeset viewer.

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