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

Commit 741a6100 authored by Jason Sams's avatar Jason Sams
Browse files

Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

parent 41c19db9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -438,6 +438,7 @@ void Context::setVertex(ProgramVertex *pv)
    } else {
        mVertex.set(pv);
    }
    mVertex->forceDirty();
}

void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,10 @@ protected:
    ObjectBaseRef<Allocation> mConstants;

    mutable bool mDirty;


public:
    void forceDirty() {mDirty = true;}
};