diff options
| author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-09-07 20:06:58 -0500 |
|---|---|---|
| committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-09-08 15:39:58 -0400 |
| commit | fbc64984ca7de7db10b1a8a4f49002f260c93569 (patch) | |
| tree | 0dd67dd2ad4bc3a9483c24dc7fcc08c2cae49679 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | bf0c4a644bd38e357aa5c4c2eeb7ad1db56cb378 (diff) | |
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(); |
