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:
parent
af091f4fd4
commit
a99e2a4a54
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user