fix some trivial ide warnings
This commit is contained in:
committed by
Mathias Agopian
parent
d346b94b8a
commit
a8765b1dc0
@@ -22,6 +22,8 @@
|
||||
|
||||
#include <filament/SwapChain.h>
|
||||
|
||||
#include <backend/DriverEnums.h>
|
||||
|
||||
#include "private/backend/BackendUtils.h"
|
||||
|
||||
#include <utils/Panic.h>
|
||||
|
||||
@@ -117,18 +117,18 @@ struct VulkanRenderPrimitive : public HwRenderPrimitive {
|
||||
};
|
||||
|
||||
struct VulkanFence : public HwFence {
|
||||
VulkanFence(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
|
||||
explicit VulkanFence(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
|
||||
std::shared_ptr<VulkanCmdFence> fence;
|
||||
};
|
||||
|
||||
struct VulkanSync : public HwSync {
|
||||
VulkanSync() {}
|
||||
VulkanSync(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
|
||||
VulkanSync() = default;
|
||||
explicit VulkanSync(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
|
||||
std::shared_ptr<VulkanCmdFence> fence;
|
||||
};
|
||||
|
||||
struct VulkanTimerQuery : public HwTimerQuery {
|
||||
VulkanTimerQuery(VulkanContext& context);
|
||||
explicit VulkanTimerQuery(VulkanContext& context);
|
||||
~VulkanTimerQuery();
|
||||
uint32_t startingQueryIndex;
|
||||
uint32_t stoppingQueryIndex;
|
||||
|
||||
Reference in New Issue
Block a user