properly initialize SwapChainPtr to nullptr
This commit is contained in:
1 parent
a3f05e353d
commit
87d04fc2c1
1 file changed
+1
-1
@@ -38,7 +38,7 @@ class TVulkanPlatform : public filament::backend::VulkanPlatform {
|
|||||||
|
|
||||||
VkResult present(SwapChainPtr handle, uint32_t index, VkSemaphore finishedDrawing) override;
|
VkResult present(SwapChainPtr handle, uint32_t index, VkSemaphore finishedDrawing) override;
|
||||||
|
|
||||||
SwapChainPtr current;
|
SwapChainPtr current = std::nullptr_t();
|
||||||
std::mutex mutex;
|
std::mutex mutex;
|
||||||
uint32_t currentColorIndex = 0;
|
uint32_t currentColorIndex = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user