mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
D3D: StateManager m_current and m_pending are now value-initialized
This commit is contained in:
parent
0e18e9e80d
commit
80459c52e9
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ StateManager::StateManager()
|
|||
, m_currentDepthState(nullptr)
|
||||
, m_currentRasterizerState(nullptr)
|
||||
, m_dirtyFlags(~0u)
|
||||
, m_pending()
|
||||
, m_current()
|
||||
{
|
||||
memset(&m_pending, 0, sizeof(m_pending));
|
||||
memset(&m_current, 0, sizeof(m_current));
|
||||
}
|
||||
|
||||
void StateManager::PushBlendState(const ID3D11BlendState* state) { m_blendStates.push(AutoBlendState(state)); }
|
||||
|
|
Loading…
Add table
Reference in a new issue