summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-06 04:54:20 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-06 05:48:32 +0200
commitca6bf06ef7e1a8b198167822a510b9f5ee43dec7 (patch)
tree0f8e113c96399c61624652df0a26dd008d379b23 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #10159 from german77/home_screenshot (diff)
downloadyuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.gz
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.bz2
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.lz
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.xz
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.zst
yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 7d5018151..5f1c63ff9 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -10,6 +10,7 @@
#include <vector>
#include "common/common_types.h"
+#include "common/settings.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
// Define all features which may be used by the implementation here.
@@ -510,7 +511,7 @@ public:
/// Returns true when a known debugging tool is attached.
bool HasDebuggingToolAttached() const {
- return has_renderdoc || has_nsight_graphics;
+ return has_renderdoc || has_nsight_graphics || Settings::values.renderer_debug.GetValue();
}
/// Returns true when the device does not properly support cube compatibility.