diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-10-08 21:41:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-08 21:41:43 +0200 |
| commit | a86b2c15d8a3064228e5b8fabf6cbea09c3837dd (patch) | |
| tree | ea24ab15bce008fed82f21fda86d4e1b97cc8f44 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 8b38d5a1155c9d91036935b2abc388aaa1822e41 (diff) | |
| parent | b427ead0cc46ae6e35568a85228f6261204a197f (diff) | |
Merge pull request #4322 from Helios747/I_hate_features
Remove Frameskip
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 6579802445..7f8c79c77d 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -180,8 +180,7 @@ static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = fal return loader; } -int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bool skip_drawing, - bool is_preprocess) +int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bool is_preprocess) { if (!count) return 0; @@ -192,7 +191,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo if ((int)src.size() < size) return -1; - if (skip_drawing || is_preprocess) + if (is_preprocess) return size; // If the native vertex format changed, force a flush. |
