summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-03-11 12:55:25 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-05-07 15:42:17 -0700
commit0a906f553fe7699d1c863a464211f74b6c306a0f (patch)
tree6cdb16eb84765bec99bf418c75b753b7324844ce /Source/Core/VideoCommon/VertexLoaderManager.cpp
parentfa7077763f91980e372d502b4357f3dda971ffbe (diff)
Move vertex size and component calculation to VertexLoaderBase
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index ab362fc29c..c657ed7989 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -247,7 +247,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo
VertexLoaderBase* loader = RefreshLoader(vtx_attr_group, is_preprocess);
- int size = count * loader->m_VertexSize;
+ int size = count * loader->m_vertex_size;
if ((int)src.size() < size)
return -1;