fixup! Frame: No Obj inheritance and introduce MakeFrame()

This commit is contained in:
Arne Welzel 2025-01-19 16:49:03 +01:00
parent 47cd2047bd
commit 1ae2c742d4

View file

@ -44,6 +44,12 @@ inline void Unref(Frame* f);
class Frame {
public:
~Frame() {
// Unref() all elements.
for ( int i = 0; i < size; i++ )
frame[i] = nullptr;
}
/**
* Returns the size of the frame.
*