1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Define FeatureLevels como static

This commit is contained in:
Danilo 2024-11-14 15:51:35 -03:00
parent af091f4fd4
commit a99e2a4a54
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ namespace xna {
std::shared_ptr<RenderTarget2D> RenderTarget2D;
intptr_t WindowHandle{ 0 };
D3D_FEATURE_LEVEL FeatureLevels[7] =
inline static constexpr D3D_FEATURE_LEVEL FeatureLevels[7] =
{
D3D_FEATURE_LEVEL_11_1,
D3D_FEATURE_LEVEL_11_0,

View File

@ -248,7 +248,7 @@ namespace xna {
//UINT Flags,
createDeviceFlags,
//_In_reads_opt_( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels,
impl.FeatureLevels,
GraphicsDeviceImplementation::FeatureLevels,
//UINT FeatureLevels,
7,
//UINT SDKVersion,