diff options
| author | degasus <wickmarkus@web.de> | 2014-12-11 22:39:58 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-12-21 13:47:42 +0100 |
| commit | ec28a80e00ae6893b1a71c1e0538561df78665e5 (patch) | |
| tree | 06926e784c89a8939975813bd3bfaed80436f7d5 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 9b2909357bc4c8863c61dcf2e525889c70827844 (diff) | |
VideoLoader: remove VAT_*_FRACBITS
They are used to remove the flush amounts, but as we don't
flush anymore on vertex loader changes (only on native
vertex format right now), this optimization is now unneeded.
This will allow us to hard code the frac factors within the
vertex loaders.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index cf638c2495..e1d0b194ef 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -159,7 +159,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo DataReader dst = VertexManager::PrepareForAdditionalData(primitive, count, loader->GetNativeVertexDeclaration().stride); - count = loader->RunVertices(state->vtx_attr[vtx_attr_group], primitive, count, src, dst); + count = loader->RunVertices(primitive, count, src, dst); IndexGenerator::AddIndices(primitive, count); |
