From eb2c50c5e692e13608c1d354473c3b22277c687e Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 5 May 2020 15:39:44 -0400 Subject: [PATCH] Update src/video_core/gpu.cpp Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com> --- src/video_core/gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 9d6b972622..8eb017f65d 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -349,7 +349,7 @@ void GPU::ProcessBindMethod(const MethodCall& method_call) { // Bind the current subchannel to the desired engine id. LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", method_call.subchannel, method_call.argument); - auto engine_id = static_cast(method_call.argument); + const auto engine_id = static_cast(method_call.argument); bound_engines[method_call.subchannel] = static_cast(engine_id); switch (engine_id) { case EngineID::FERMI_TWOD_A: