mirror of
https://github.com/blender/blender.git
synced 2026-02-06 08:04:03 +00:00
Vulkan: Enable VMA asserts
These asserts where disabled to work around the issue that resources could be created when Blender is being exited. This isn't the case anymore so it should be safe to enable asserts in VMA. Pull Request: https://projects.blender.org/blender/blender/pulls/151830
This commit is contained in:
@ -8,13 +8,4 @@
|
||||
|
||||
#define VMA_IMPLEMENTATION
|
||||
|
||||
/*
|
||||
* Disabling internal asserts of VMA.
|
||||
*
|
||||
* Blender can destroy logical device before all the resources are freed. This is because static
|
||||
* resources are freed as a last step during quiting. As long as Vulkan isn't feature complete
|
||||
* we don't want to change this behavior. So for now we just disable the asserts.
|
||||
*/
|
||||
#define VMA_ASSERT(test)
|
||||
|
||||
#include "vk_mem_alloc.h"
|
||||
|
||||
Reference in New Issue
Block a user