Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #8883 from iwubcode/freelook_clean_state
VideoCommon: Clean freelook camera dirty state when getting the new view
- Loading branch information
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -270,3 +270,8 @@ bool FreeLookCamera::IsDirty() const | ||
| { | ||
| return m_dirty; | ||
| } | ||
|
|
||
| void FreeLookCamera::SetClean() | ||
| { | ||
| m_dirty = false; | ||
| } | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -56,6 +56,7 @@ class FreeLookCamera | ||
| void DoState(PointerWrap& p); | ||
|
|
||
| bool IsDirty() const; | ||
| void SetClean(); | ||
|
|
||
| private: | ||
| bool m_dirty = false; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters