diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-09-26 12:39:12 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-09-26 12:39:12 +0000 |
| commit | 29808cdde2aa918f453d9d466e238f24a1f2d62f (patch) | |
| tree | 6d64a4a4fb275469872658d357179f7733a15d2a /Source/Core/VideoCommon/Src/VertexLoader.cpp | |
| parent | 5a7fbd63c2a496a1c4964f8bb9c05384cc2ef84b (diff) | |
OpenGL: commit rodolfoosvaldobogado's (what a name!) speedup patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4322 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexLoader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp index 9b61dfa53f..09d5b16d14 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp @@ -602,7 +602,8 @@ void VertexLoader::RunVertices(int vtx_attr_group, int primitive, int count) // Flush if our vertex format is different from the currently set. if (g_nativeVertexFmt != NULL && g_nativeVertexFmt != m_NativeFmt) { - VertexManager::Flush(); + //Don't flush here we can join some primitives, let the vertex manager do this work + //VertexManager::Flush(); // Also move the Set() here? } g_nativeVertexFmt = m_NativeFmt; |
