diff options
| author | Matthew Parlane <parlane@gmail.com> | 2014-03-11 00:30:55 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2014-03-11 00:35:07 +1300 |
| commit | 31cfc73a09a8685cbab20502b4bc132e98e2feb5 (patch) | |
| tree | c7eb3a0906bab0eb711bd7c79166c96fe97ec488 /Source/Core/VideoBackends/D3D/GfxState.cpp | |
| parent | 4591464486d696a300cc914f6c2a3cce8af2d666 (diff) | |
Fixes spacing for "for", "while", "switch" and "if"
Also moved && and || to ends of lines instead of start.
Fixed misc vertical alignments and some { needed newlining.
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 |
