Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xavieran committed Jul 7, 2024
1 parent 1c9eeb8 commit 2822065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/shaders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ std::optional<std::string> GetFile(std::string shaderFile)
auto it = std::find_if(ShaderFiles.begin(), ShaderFiles.end(),
[&shaderFile](const auto& shader)
{
return shaderFile == std::string(std::get<0>(shader));
return shaderFile == std::string(shader.first);
});

if (it != ShaderFiles.end())
Expand Down

0 comments on commit 2822065

Please sign in to comment.