summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-23 14:02:24 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-04-23 14:02:24 +0200
commit021d28c9b81d86d52b989b4cc6828f33c6a63c9b (patch)
tree9b0245e332e799469a90c99069e3647303556c06 /src/video_core/engines/maxwell_3d.cpp
parentImplement Maxwell3D Data Upload (diff)
downloadyuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar.gz
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar.bz2
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar.lz
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar.xz
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.tar.zst
yuzu-021d28c9b81d86d52b989b4cc6828f33c6a63c9b.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 78810dbbb..d7b586db9 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -258,7 +258,7 @@ void Maxwell3D::CallMethod(const GPU::MethodCall& method_call) {
break;
}
case MAXWELL3D_REG_INDEX(data_upload): {
- bool is_last_call = method_call.IsLastCall();
+ const bool is_last_call = method_call.IsLastCall();
upload_state.ProcessData(method_call.argument, is_last_call);
if (is_last_call) {
dirty_flags.OnMemoryWrite();