Skip to content

Commit

Permalink
use WaveformWidgetType::AllShaderRGBWaveform as autoChooseWidgetType
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB committed Aug 13, 2023
1 parent cdc4ef7 commit 95229d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/waveform/waveformwidgetfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,11 @@ void WaveformWidgetFactory::swap() {
WaveformWidgetType::Type WaveformWidgetFactory::autoChooseWidgetType() const {
if (m_openGlAvailable) {
if (m_openGLShaderAvailable) {
#ifndef MIXXX_USE_QOPENGL
return WaveformWidgetType::GLSLRGBWaveform;
#else
return WaveformWidgetType::AllShaderRGBWaveform;
#endif
} else {
return WaveformWidgetType::GLRGBWaveform;
}
Expand Down

0 comments on commit 95229d4

Please sign in to comment.