summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-23 17:08:02 +0100
committerLiam <byteslice@airmail.cc>2023-12-23 17:08:02 +0100
commit6a1ddc50287cc6394f45ac4235cc742369c8bff2 (patch)
tree8fde43d1b1f702b69267ba43ed1e9a4067a571c5 /src/video_core
parentMerge pull request #12412 from ameerj/gl-query-prims (diff)
downloadyuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar.gz
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar.bz2
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar.lz
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar.xz
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.tar.zst
yuzu-6a1ddc50287cc6394f45ac4235cc742369c8bff2.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp
index 2f78b8af0..074aed964 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.cpp
+++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp
@@ -246,7 +246,9 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec
.objectHandle = reinterpret_cast<u64>(handle),
.pObjectName = name,
};
- Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
+ if (dld->vkSetDebugUtilsObjectNameEXT) {
+ Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
+ }
}
} // Anonymous namespace