mirror of https://github.com/odrling/Aegisub
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…
Reference in New Issue