diff options
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(); |
