Skip to content

Commit 71910c3

Browse files
committed
[D3D11] fix
1 parent 71f5f27 commit 71910c3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Texture/D3D11/CTexture_D3D11.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ namespace s3d
4242

4343
// 4x MSAA サポート状況を取得
4444
{
45-
constexpr std::array<TextureFormat, 10> formats =
45+
constexpr std::array<TextureFormat, 11> formats =
4646
{
4747
TextureFormat::Unknown,
4848
TextureFormat::R8G8B8A8_Unorm,
4949
TextureFormat::R8G8B8A8_Unorm_SRGB,
50+
TextureFormat::R16G16_Unorm,
5051
TextureFormat::R16G16_Float,
5152
TextureFormat::R32_Float,
5253
TextureFormat::R10G10B10A2_Unorm,

Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Texture/D3D11/CTexture_D3D11.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace s3d
3535
AssetHandleManager<Texture::IDType, D3D11Texture> m_textures{ U"Texture" };
3636

3737
// マルチサンプルの対応
38-
std::array<bool, 10> m_multiSampleAvailable = {};
38+
std::array<bool, 11> m_multiSampleAvailable = {};
3939

4040
public:
4141

0 commit comments

Comments
 (0)