VirtualBox

Changeset 54834 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 18, 2015 3:08:46 PM (10 years ago)
Author:
vboxsync
Message:

Frontend,SharedOpenGL: 3D notification without safearray.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r54828 r54834  
    10081008    }
    10091009
    1010     com::SafeArray<BYTE> eventData(ComSafeArrayInArg(data));
     1010    // com::SafeArray<BYTE> eventData(ComSafeArrayInArg(data));
    10111011    switch (uType)
    10121012    {
    1013         case VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA:
     1013        case VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_VISIBLE:
     1014        case VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_HIDDEN:
    10141015        {
    10151016            /* Notify machine-view with the async-signal
    10161017             * about 3D overlay visibility change: */
    1017             BOOL fVisible = eventData[0];
     1018            BOOL fVisible = uType == VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_VISIBLE;
    10181019            LogRel2(("GUI: UIFrameBufferPrivate::Notify3DEvent: Sending to async-handler: "
    1019                      "(VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA = %s)\n",
    1020                      fVisible ? "TRUE" : "FALSE"));
     1020                     "(VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_%s)\n",
     1021                     fVisible ? "VISIBLE" : "HIDDEN"));
    10211022            emit sigNotifyAbout3DOverlayVisibilityChange(fVisible);
    10221023
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