]> git.sesse.net Git - nageru/blob - ref_counted_frame.cpp
Precalculate the VU/LRA meter images as pixmaps, since the painting is so slow.
[nageru] / ref_counted_frame.cpp
1 #include "ref_counted_frame.h"
2
3 void release_refcounted_frame(FrameAllocator::Frame *frame)
4 {
5         if (frame->owner) {
6                 frame->owner->release_frame(*frame);
7                 delete frame;
8         }
9 }