Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68f929b8 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix a bug when reallocating a window's buffers is needed

we need to mark the buffers that need to be reallocated,
NOT the buffer's indices.

Change-Id: I809e2e1b03b56c4d2ab983c25523dae99aa1da74
parent 1cb8fa1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -303,6 +303,7 @@ private:
            : mCapacity(c), mList(0) { }
            : mCapacity(c), mList(0) { }
        status_t add(int value);
        status_t add(int value);
        status_t remove(int value);
        status_t remove(int value);
        uint32_t getMask() const { return mList; }


        class const_iterator {
        class const_iterator {
            friend class BufferList;
            friend class BufferList;