Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
2A5F committed Nov 27, 2024
1 parent d2f331e commit 2ae947c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Graphics/GraphicsEngineD3D11/src/ShaderD3D11Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static const ShaderVersion HLSLValidateShaderVersion(const ShaderVersion& Versio
static const ShaderVersion GetD3D11ShaderModel(D3D_FEATURE_LEVEL d3dDeviceFeatureLevel, const ShaderVersion& HLSLVersion)
{
#if defined(_MSC_VER) && !defined(NTDDI_WIN10_FE)
# pragma warning(disable 4063)
# pragma warning(disable : 4063)
#endif
switch (d3dDeviceFeatureLevel)
{
Expand Down Expand Up @@ -88,7 +88,7 @@ static const ShaderVersion GetD3D11ShaderModel(D3D_FEATURE_LEVEL d3dDeviceFeatur
return ShaderVersion{4, 0};
}
#if defined(_MSC_VER) && !defined(NTDDI_WIN10_FE)
# pragma warning(default 4063)
# pragma warning(default : 4063)
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions Graphics/GraphicsEngineD3D12/src/RenderDeviceD3D12Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ RenderDeviceD3D12Impl::RenderDeviceD3D12Impl(IReferenceCounters* pRefCo

auto FeatureLevel = GetD3DFeatureLevelFromDevice(m_pd3d12Device);
#if defined(_MSC_VER) && !defined(NTDDI_WIN10_FE)
# pragma warning(disable 4063)
# pragma warning(disable : 4063)
#endif
switch (FeatureLevel)
{
Expand All @@ -191,7 +191,7 @@ RenderDeviceD3D12Impl::RenderDeviceD3D12Impl(IReferenceCounters* pRefCo
default: UNEXPECTED("Unexpected D3D feature level");
}
#if defined(_MSC_VER) && !defined(NTDDI_WIN10_FE)
# pragma warning(default 4063)
# pragma warning(default : 4063)
#endif

// Detect maximum shader model.
Expand Down

0 comments on commit 2ae947c

Please sign in to comment.