J8 Direct2D build error

When building with JUCE_ETW_TRACELOGGING=1 I’m getting a compile error here. Is snappedRectangle supposed to be deferredRepaint?

    void addDeferredRepaint (Rectangle<int> deferredRepaint)
    {
        deferredRepaints.add (deferredRepaint);

        JUCE_TRACE_EVENT_INT_RECT (etw::repaint, etw::paintKeyword, snappedRectangle);
    }

Yes, that’s correct.

I’ve attached a patch that should clean that up along with some other warnings. I just ran a trace log and it seemed to be working.

Matt

juce_8_etw_tracelogging.patch (2.1 KB)

Thanks, that worked!

1 Like