From 2fc4855f29b7b75dfb84f59f3d4aa0aa03fd3fc9 Mon Sep 17 00:00:00 2001 From: nmzik Date: Thu, 6 Aug 2026 16:55:53 +0200 Subject: [PATCH] fix renderDoc --- src/graphics/presentation/renderDoc.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/graphics/presentation/renderDoc.cpp b/src/graphics/presentation/renderDoc.cpp index ecc9d4b82..70c7fa124 100644 --- a/src/graphics/presentation/renderDoc.cpp +++ b/src/graphics/presentation/renderDoc.cpp @@ -128,8 +128,7 @@ static bool BindRenderDocApi(HMODULE module) { g_api = static_cast(api); g_api->SetCaptureFilePathTemplate("_RenderDoc/kyty"); - static RenderDocInputButton capture_keys[] = {eRENDERDOC_Key_F1}; - g_api->SetCaptureKeys(capture_keys, 1); + g_api->SetCaptureKeys(nullptr, 0); g_api->UnloadCrashHandler(); char module_path[MAX_PATH] = {}; @@ -170,8 +169,7 @@ static bool BindRenderDocApi(HMODULE module) { g_api = static_cast(api); g_api->SetCaptureFilePathTemplate("_RenderDoc/kyty"); - static RenderDocInputButton capture_keys[] = {eRENDERDOC_Key_F1}; - g_api->SetCaptureKeys(capture_keys, 1); + g_api->SetCaptureKeys(nullptr, 0); g_api->UnloadCrashHandler(); Dl_info info {};