瀏覽代碼

Update src/video_core/gpu.cpp

Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
bunnei 6 年之前
父節點
當前提交
eb2c50c5e6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video_core/gpu.cpp

+ 1 - 1
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<EngineID>(method_call.argument);
+    const auto engine_id = static_cast<EngineID>(method_call.argument);
     bound_engines[method_call.subchannel] = static_cast<EngineID>(engine_id);
     switch (engine_id) {
     case EngineID::FERMI_TWOD_A: