Skip to content

Commit

Permalink
Fix bug that prevents composite shader from being loaded
Browse files Browse the repository at this point in the history
 Happens in the rare cases if a preset has no warp shader
  • Loading branch information
kblaschke committed Mar 19, 2024
1 parent 436fd52 commit e538ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libprojectM/MilkdropPreset/FinalComposite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void FinalComposite::LoadCompositeShader(const PresetState& presetState)
if (presetState.compositeShaderVersion > 0)
{
m_compositeShader = std::make_unique<MilkdropShader>(MilkdropShader::ShaderType::CompositeShader);
if (!presetState.warpShader.empty())
if (!presetState.compositeShader.empty())
{
try
{
Expand Down

0 comments on commit e538ccc

Please sign in to comment.