Skip to content

Commit

Permalink
added upgrades to new allshadertextured types
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Apr 21, 2024
1 parent 5a3e779 commit 9298a96
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/preferences/upgrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,27 @@ WaveformWidgetType::Type upgradeToAllShaders(WaveformWidgetType::Type waveformTy
case WWT::AllShaderFilteredWaveform:
case WWT::AllShaderSimpleWaveform:
case WWT::AllShaderHSVWaveform:
case WWT::AllShaderTexturedFiltered:
case WWT::AllShaderTexturedRGB:
case WWT::AllShaderTexturedStacked:
case WWT::Count_WaveformwidgetType:
return waveformType;
case WWT::QtSimpleWaveform:
case WWT::GLSimpleWaveform:
return WaveformWidgetType::AllShaderSimpleWaveform;
case WWT::GLFilteredWaveform:
case WWT::GLSLFilteredWaveform:
return WaveformWidgetType::AllShaderFilteredWaveform;
case WWT::GLSLFilteredWaveform:
return WaveformWidgetType::AllShaderTexturedFiltered;
case WWT::QtWaveform:
case WWT::RGBWaveform:
case WWT::GLRGBWaveform:
case WWT::GLSLRGBWaveform:
case WWT::QtRGBWaveform:
case WWT::GLSLRGBStackedWaveform:
return WWT::AllShaderRGBWaveform;
case WWT::GLSLRGBWaveform:
return WWT::AllShaderTexturedRGB;
case WWT::GLSLRGBStackedWaveform:
return WWT::AllShaderTexturedStacked;
case WWT::HSVWaveform:
case WWT::QtHSVWaveform:
return WWT::AllShaderHSVWaveform;
Expand Down

0 comments on commit 9298a96

Please sign in to comment.