Fix ASAN use-after-stack-free in VulkanPlatform (#8897)
This commit is contained in:
committed by
Benjamin Doherty
parent
4cd76247e2
commit
6ca16574d9
@@ -923,7 +923,7 @@ Driver* VulkanPlatform::createDriver(void* sharedContext,
|
||||
// Keep a copy of context for swapchains.
|
||||
mImpl->mContext = context;
|
||||
|
||||
return VulkanDriver::create(this, context, driverConfig);
|
||||
return VulkanDriver::create(this, mImpl->mContext, driverConfig);
|
||||
}
|
||||
|
||||
// This needs to be explictly written for
|
||||
|
||||
Reference in New Issue
Block a user