Skip to content

Commit 7d40b96

Browse files
committed
Fix bug that prevents composite shader from being loaded
Happens in the rare cases if a preset has no warp shader
1 parent 876cade commit 7d40b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libprojectM/MilkdropPreset/FinalComposite.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void FinalComposite::LoadCompositeShader(const PresetState& presetState)
4343
if (presetState.compositeShaderVersion > 0)
4444
{
4545
m_compositeShader = std::make_unique<MilkdropShader>(MilkdropShader::ShaderType::CompositeShader);
46-
if (!presetState.warpShader.empty())
46+
if (!presetState.compositeShader.empty())
4747
{
4848
try
4949
{

0 commit comments

Comments
 (0)