diff --git a/src/audio_renderer_spectrum.cpp b/src/audio_renderer_spectrum.cpp index d0a299a86..4331febfc 100644 --- a/src/audio_renderer_spectrum.cpp +++ b/src/audio_renderer_spectrum.cpp @@ -215,7 +215,7 @@ void AudioSpectrumRenderer::Render(wxBitmap &bmp, int start, AudioRenderingStyle return; assert(bmp.IsOk()); - assert(bmp.GetDepth() == 24); + assert(bmp.GetDepth() == 24 || bmp.GetDepth() == 32); int end = start + bmp.GetWidth();