diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-09-26 21:00:04 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-09-26 21:00:04 +0000 |
| commit | e102fdaac3431edd96241e9fc357769a107953da (patch) | |
| tree | 56ef3bc2bdd66a4deab19aaeb62cf16e691b7550 /Source/Core/VideoCommon/Src/VertexLoader.cpp | |
| parent | 29808cdde2aa918f453d9d466e238f24a1f2d62f (diff) | |
r4322 commented out an important Flush() call - restore that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4323 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexLoader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp index 09d5b16d14..45b0e8eb70 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp @@ -602,8 +602,10 @@ 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) { - //Don't flush here we can join some primitives, let the vertex manager do this work - //VertexManager::Flush(); + // We really must flush here. It's possible that the native representations + // of the two vtx formats are the same, but we have no way to easily check that + // now. + VertexManager::Flush(); // Also move the Set() here? } g_nativeVertexFmt = m_NativeFmt; |
