diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-04 23:51:59 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-04 23:51:59 -0400 |
| commit | e1701951b2840947a043274eb733708806249ad9 (patch) | |
| tree | 9bd836d627bdfed6974b7e08ffc8e0162a302f44 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | b7d44810811c4896b17d2ddd055244bece7dd8d8 (diff) | |
| parent | 16f180524cc1526e04cd91f33f74ca56f190bc06 (diff) | |
Merge pull request #739 from delroth/vertex-loader-fix
VertexLoader: do not prepare for vertices if we need to skip them
Fixes issue [7542](https://code.google.com/p/dolphin-emu/issues/detail?id=7542)
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index a4c0a2f6f2..6a094756a4 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -10,7 +10,6 @@ #include "Core/Host.h" -#include "VideoCommon/BPMemory.h" #include "VideoCommon/DataReader.h" #include "VideoCommon/LookUpTables.h" #include "VideoCommon/PixelEngine.h" @@ -840,12 +839,6 @@ void VertexLoader::ConvertVertices ( int count ) void VertexLoader::RunVertices(const VAT& vat, int primitive, int const count) { - if (bpmem.genMode.cullmode == 3 && primitive < 5) - { - // if cull mode is none, ignore triangles and quads - DataSkip(count * m_VertexSize); - return; - } SetupRunVertices(vat, primitive, count); ConvertVertices(count); } |
