summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-04-29 17:23:40 +0200
committerLioncash <mathew1800@gmail.com>2016-05-09 05:03:32 +0200
commit1357724cd946f3a9f31dbe3ace55a9588f3c6f2f (patch)
tree7cbe25e63e854c1b412c34bd5ae3a449ecb4a56c /src/video_core/command_processor.cpp
parentvertex_loader: initialize_num_total_attributes. (diff)
downloadyuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar.gz
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar.bz2
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar.lz
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar.xz
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.tar.zst
yuzu-1357724cd946f3a9f31dbe3ace55a9588f3c6f2f.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_processor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index dd1379503..941c5af9f 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -199,9 +199,8 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
// Processes information about internal vertex attributes to figure out how a vertex is loaded.
// Later, these can be compiled and cached.
- VertexLoader loader;
const u32 base_address = regs.vertex_attributes.GetPhysicalBaseAddress();
- loader.Setup(regs);
+ VertexLoader loader(regs);
// Load vertices
bool is_indexed = (id == PICA_REG_INDEX(trigger_draw_indexed));