diff options
| author | degasus <wickmarkus@web.de> | 2013-01-14 21:36:31 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-01-14 21:36:31 +0100 |
| commit | 2f78986e2cc28c7093bb9b7a784d1b3c0ce2e682 (patch) | |
| tree | 3fff77fd5721203782567248025a20f91cc441e9 /Source/Core/VideoCommon/Src/VertexManagerBase.cpp | |
| parent | ff5ac8c5058df935e978141be89131eb4be130f8 (diff) | |
| parent | 1919a458e88fc1a06567b9496c6c47d34b9df5f2 (diff) | |
Merge branch 'Graphic_Update' into GLSL-master
Conflicts:
Source/Core/VideoCommon/Src/VertexManagerBase.cpp
Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexManagerBase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp index 5be72e4fcf..bcd46c5faf 100644 --- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp @@ -163,6 +163,9 @@ void VertexManager::Flush() // loading a state will invalidate BP, so check for it g_video_backend->CheckInvalidState(); + if (LocalVBuffer == s_pCurBufferPointer) return; + if (Flushed) return; + Flushed = true; g_vertex_manager->vFlush(); } |
