mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
spectrum view: allow 32-bit wxBitmap
Required on MacOS
This commit is contained in:
parent
2abb098bd1
commit
43751546f4
@ -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…
x
Reference in New Issue
Block a user