diff options
Diffstat (limited to 'Source/Core/VideoBackends/D3D/GfxState.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/GfxState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D/GfxState.cpp b/Source/Core/VideoBackends/D3D/GfxState.cpp index af85993e4d..5b170d0b48 100644 --- a/Source/Core/VideoBackends/D3D/GfxState.cpp +++ b/Source/Core/VideoBackends/D3D/GfxState.cpp @@ -29,7 +29,7 @@ template<typename T> AutoState<T>::AutoState(const AutoState<T> &source) template<typename T> AutoState<T>::~AutoState() { - if(state) ((T*)state)->Release(); + if (state) ((T*)state)->Release(); state = nullptr; } @@ -77,4 +77,4 @@ void StateManager::Apply() } // namespace -} // namespace DX11
\ No newline at end of file +} // namespace DX11 |
