Minor stuff

This commit is contained in:
Jérôme Leclercq
2021-08-10 10:35:59 +02:00
parent f5dac32020
commit 7aafcfaae9
8 changed files with 8 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ namespace Nz
{
assert(stagePtr);
Nz::VulkanShaderModule& vulkanModule = *static_cast<Nz::VulkanShaderModule*>(stagePtr.get());
VulkanShaderModule& vulkanModule = static_cast<VulkanShaderModule&>(*stagePtr);
for (auto& stage : vulkanModule.GetStages())
{
VkPipelineShaderStageCreateInfo& createInfo = shaderStageCreateInfos.emplace_back();