spectrum view: allow 32-bit wxBitmap

Required on MacOS
This commit is contained in:
Ryan Lucia 2021-02-22 14:29:14 -05:00
parent 2abb098bd1
commit 43751546f4
1 changed files with 1 additions and 1 deletions

View File

@ -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();