diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-10-25 13:27:28 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-10-25 13:27:28 +0000 |
| commit | 2f6d41e413ef2197ee25d1a9ea1790c9d64e548b (patch) | |
| tree | 5082396fd2378e83f4a0268fd0b34f771c70fb1a /Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp | |
| parent | bc79d22f5e4293a390f9f6ae27bc29372856196f (diff) | |
Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp b/Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp index 2b93952d8b..aac013a2d2 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/OpcodeDecoding.cpp @@ -139,8 +139,7 @@ bool FifoCommandRunnable() {
iCommandSize = 1 + 2;
u16 numVertices = DataPeek16(1);
- VertexLoader& vtxLoader = g_VertexLoaders[Cmd & GX_VAT_MASK];
- iCommandSize += numVertices * vtxLoader.ComputeVertexSize();
+ iCommandSize += numVertices * VertexLoaderManager::GetVertexSize(Cmd & GX_VAT_MASK);
}
else
{
|
