VirtualBox

Changeset 94150 in vbox


Ignore:
Timestamp:
Mar 9, 2022 2:48:30 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150400
Message:

Devices/Graphics: Use D3D 11.1: bugref:9830

File:
1 edited

Legend:

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

    r94149 r94150  
    4242#include "DevVGA-SVGA3d-dx-shader.h"
    4343
    44 #include <d3d11.h>
     44/* d3d11_1.h has a structure field named 'Status' but Status is defined as int on Linux host */
     45#if defined(Status)
     46#undef Status
     47#endif
     48#include <d3d11_1.h>
    4549
    4650
     
    817821    static D3D_FEATURE_LEVEL const s_aFeatureLevels[] =
    818822    {
    819         /// @todo Requires a Windows 8+ _SDKS: D3D_FEATURE_LEVEL_11_1,
     823        D3D_FEATURE_LEVEL_11_1,
    820824        D3D_FEATURE_LEVEL_11_0
    821825    };
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