]> git.sesse.net Git - nageru/blob - ref_counted_frame.cpp
Refcount the input frames directly instead of trying to free them after-the-fact...
[nageru] / ref_counted_frame.cpp
1 #include "ref_counted_frame.h"
2
3 void release_refcounted_frame(FrameAllocator::Frame *frame)
4 {
5         frame->owner->release_frame(*frame);
6         delete frame;
7 }