mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
D3D: StateManager m_current and m_pending are now value-initialized
This commit is contained in:
parent
0e18e9e80d
commit
80459c52e9
@ -38,9 +38,9 @@ StateManager::StateManager()
|
|||||||
, m_currentDepthState(nullptr)
|
, m_currentDepthState(nullptr)
|
||||||
, m_currentRasterizerState(nullptr)
|
, m_currentRasterizerState(nullptr)
|
||||||
, m_dirtyFlags(~0u)
|
, 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)); }
|
void StateManager::PushBlendState(const ID3D11BlendState* state) { m_blendStates.push(AutoBlendState(state)); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user