mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a method RectangleList::ensureStorageAllocated
This commit is contained in:
parent
02460bb95b
commit
0bf57ddf0c
5 changed files with 19 additions and 0 deletions
|
|
@ -391,6 +391,7 @@ public:
|
|||
const MinMaxValue* cacheData = getData (channelNum, clip.getX() - area.getX());
|
||||
|
||||
RectangleList<float> waveform;
|
||||
waveform.ensureStorageAllocated (clip.getWidth());
|
||||
|
||||
float x = (float) clip.getX();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue