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

Commit 6045d2b7 authored by Chris Craik's avatar Chris Craik
Browse files

Fix DISPLAY_LIST_DEBUG

will now log ops

Change-Id: I4e119999af7ceea0558225aa78926e761277fee2
parent 0ace0aa7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -511,6 +511,10 @@ void DisplayList::iterate(OpenGLRenderer& renderer, T& handler, const int level)
    for (unsigned int i = 0; i < mDisplayListData->displayListOps.size(); i++) {
        DisplayListOp *op = mDisplayListData->displayListOps[i];

#if DEBUG_DISPLAY_LIST
        op->output(level + 1);
#endif

        logBuffer.writeCommand(level, op->name());
        handler(op, saveCount, mClipToBounds);
    }