Skip to content

Commit

Permalink
Add const qualifiers for safety
Browse files Browse the repository at this point in the history
  • Loading branch information
yunimoo committed Jul 16, 2024
1 parent cf19279 commit 3ad1779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rendering/Vulkan/CubismRenderer_Vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ VkShaderModule CubismPipeline_Vulkan::PipelineResource::CreateShaderModule(VkDev
return shaderModule;
}

void CubismPipeline_Vulkan::PipelineResource::CreateGraphicsPipeline(std::string vertFileName, std::string fragFileName,
void CubismPipeline_Vulkan::PipelineResource::CreateGraphicsPipeline(const std::string vertFileName, const std::string fragFileName,
VkDescriptorSetLayout descriptorSetLayout)
{
VkShaderModule vertShaderModule = CreateShaderModule(s_device, vertFileName);
Expand Down

0 comments on commit 3ad1779

Please sign in to comment.