diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-09-10 00:35:16 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-09-10 00:35:16 -0500 |
| commit | 71cb09f1ca277436ccff022ba056e32c25c527a8 (patch) | |
| tree | c71de251579aebbdee644b1270789ba4a69a0ca1 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 90a5171151c9bfa46314f732540442577c0c0ef1 (diff) | |
| parent | fbc64984ca7de7db10b1a8a4f49002f260c93569 (diff) | |
Merge pull request #1027 from rohit-n/change-include
Include CommonTypes.h instead of Common.h.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 84db7cffe8..919cb0b17e 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -1,4 +1,4 @@ -#include "Common/Common.h" +#include "Common/CommonTypes.h" #include "VideoCommon/BPStructs.h" #include "VideoCommon/Debugger.h" @@ -144,7 +144,8 @@ u32 VertexManager::GetRemainingIndices(int primitive) void VertexManager::Flush() { - if (IsFlushed) return; + if (IsFlushed) + return; // loading a state will invalidate BP, so check for it g_video_backend->CheckInvalidState(); |
