Skip to content

Commit e2ca257

Browse files
committed
small fix for dumb capture tools
1 parent f51069f commit e2ca257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/CVulkanPhysicalDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ class CVulkanPhysicalDevice final : public IPhysicalDevice
18281828
if(useVk12Struct)
18291829
{
18301830
vulkan12Features.bufferDeviceAddress = enabledFeatures.bufferDeviceAddress;
1831-
vulkan12Features.bufferDeviceAddressCaptureReplay = false;
1831+
vulkan12Features.bufferDeviceAddressCaptureReplay = (m_rdoc_api != nullptr); // Some capture tools need this but can't enable this when you set this to false (they're buggy probably, We shouldn't worry about this)
18321832
vulkan12Features.bufferDeviceAddressMultiDevice = enabledFeatures.bufferDeviceAddressMultiDevice;
18331833
}
18341834
else

0 commit comments

Comments
 (0)