Skip to content

Commit

Permalink
[D3D11] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Dec 23, 2024
1 parent 71f5f27 commit 71910c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ namespace s3d

// 4x MSAA サポート状況を取得
{
constexpr std::array<TextureFormat, 10> formats =
constexpr std::array<TextureFormat, 11> formats =
{
TextureFormat::Unknown,
TextureFormat::R8G8B8A8_Unorm,
TextureFormat::R8G8B8A8_Unorm_SRGB,
TextureFormat::R16G16_Unorm,
TextureFormat::R16G16_Float,
TextureFormat::R32_Float,
TextureFormat::R10G10B10A2_Unorm,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace s3d
AssetHandleManager<Texture::IDType, D3D11Texture> m_textures{ U"Texture" };

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

public:

Expand Down

0 comments on commit 71910c3

Please sign in to comment.