VirtualBox

Changeset 105871 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 27, 2024 12:37:53 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164591
Message:

Main: Handle VBOX_E_NOT_SUPPORTED in the console config constructor if a graphics feature is not supported on the current platform. bugref:10749

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigCommon.cpp

    r105864 r105871  
    50745074        InsertConfigInteger(pCfg,  "MonitorCount",         cMonitorCount);
    50755075
    5076         BOOL f3DEnabled;
    5077         hrc = ptrGraphicsAdapter->IsFeatureEnabled(GraphicsFeature_Acceleration3D, &f3DEnabled);              H();
     5076        BOOL f3DEnabled = FALSE;
     5077        ptrGraphicsAdapter->IsFeatureEnabled(GraphicsFeature_Acceleration3D, &f3DEnabled);
     5078        /* Note: Might return VBOX_E_NOT_SUPPORTED if feature is not supported. */
    50785079        InsertConfigInteger(pCfg,  "3DEnabled",            f3DEnabled);
    50795080
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