summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorRobin Kertels <robin.kertels@gmail.com>2022-09-15 23:38:57 +0200
committerRobin Kertels <robin.kertels@gmail.com>2022-09-19 01:14:49 +0200
commita6c6ec012ce6d5355b776379ec8b2cbd94552cf3 (patch)
tree3b55335936334d03d8c7f971b92412da09f41dd1 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parenta31e36aeb757d9b0515990becd65cd0b8561da26 (diff)
VertexLoaderManager: Clean up and slightly speed up with templates
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 3f90a2b6e3..c8f2f2c53a 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -122,7 +122,7 @@ public:
// HACK
DataReader src{const_cast<u8*>(vertex_data), const_cast<u8*>(vertex_data) + size};
const u32 bytes =
- VertexLoaderManager::RunVertices(vat, primitive, num_vertices, src, is_preprocess);
+ VertexLoaderManager::RunVertices<is_preprocess>(vat, primitive, num_vertices, src);
ASSERT(bytes == size);