spectrum view: allow 32-bit wxBitmap
Required on MacOS
This commit is contained in:
parent
2abb098bd1
commit
43751546f4
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue