VirtualBox

Changeset 105704 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Aug 16, 2024 11:56:50 AM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164404
Message:

Devices/Graphics: Report RASTERIZER_STATE_V2 only if the host supports it too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-dx11.cpp

    r105644 r105704  
    40574057        if (pState->pBackend->dxDevice.pVideoDevice)
    40584058            *pu32Val |= VBSVGA3D_CAP_VIDEO;
    4059         *pu32Val |= VBSVGA3D_CAP_RASTERIZER_STATE_V2;
     4059        if (FeatureLevel >= D3D_FEATURE_LEVEL_11_1)
     4060            *pu32Val |= VBSVGA3D_CAP_RASTERIZER_STATE_V2;
    40604061        break;
    40614062
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