Skip to content

Commit

Permalink
Update shadow_map_buffer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
matt77hias authored Oct 7, 2017
1 parent 3733135 commit 82ebc43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MAGE/MAGE/src/buffer/shadow_map_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace mage {
// Create the texture descriptor.
D3D11_TEXTURE2D_DESC texture_desc = {};
texture_desc.Width = m_width;
texture_desc.Height = m_height;;
texture_desc.Height = m_height;
texture_desc.MipLevels = 1u;
texture_desc.ArraySize = static_cast< U32 >(nb_shadow_maps);
texture_desc.Format = texture_format;
Expand Down Expand Up @@ -197,7 +197,7 @@ namespace mage {
// Create the texture descriptor.
D3D11_TEXTURE2D_DESC texture_desc = {};
texture_desc.Width = m_width;
texture_desc.Height = m_height;;
texture_desc.Height = m_height;
texture_desc.MipLevels = 1u;
texture_desc.ArraySize = 6u * static_cast< U32 >(nb_shadow_cube_maps);
texture_desc.Format = texture_format;
Expand Down Expand Up @@ -248,4 +248,4 @@ namespace mage {
ThrowIfFailed(result_srv,
"SRV creation failed: %08X.", result_srv);
}
}
}

0 comments on commit 82ebc43

Please sign in to comment.