From b85dba277fb777b095623a24cd924d0725e1596b Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:24:18 +0200 Subject: [PATCH] Fix no-Renderdoc build --- include/renderdoc.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/renderdoc.hpp b/include/renderdoc.hpp index ea2c8a3d..94fedd16 100644 --- a/include/renderdoc.hpp +++ b/include/renderdoc.hpp @@ -29,9 +29,9 @@ namespace Renderdoc { #else namespace Renderdoc { static void loadRenderdoc() {} - static void startCapture() { Helpers::panic("Tried to start a Renderdoc capture while support for renderdoc is disabled") } - static void endCapture() { Helpers::panic("Tried to end a Renderdoc capture while support for renderdoc is disabled") } - static void triggerCapture() { Helpers::panic("Tried to trigger a Renderdoc capture while support for renderdoc is disabled") } + static void startCapture() { Helpers::panic("Tried to start a Renderdoc capture while support for renderdoc is disabled"); } + static void endCapture() { Helpers::panic("Tried to end a Renderdoc capture while support for renderdoc is disabled"); } + static void triggerCapture() { Helpers::panic("Tried to trigger a Renderdoc capture while support for renderdoc is disabled"); } static void setOutputDir(const std::string& path, const std::string& prefix) {} static constexpr bool isSupported() { return false; } } // namespace Renderdoc @@ -66,4 +66,4 @@ namespace Renderdoc { InstantScope(InstantScope&&) = delete; InstantScope& operator=(const InstantScope&&) = delete; }; -} // namespace Renderdoc \ No newline at end of file +} // namespace Renderdoc