On Sun Nov 26 22:48:55 2023 +0000, Brendan McGrath wrote:
changed this line in [version 7 of the diff](/wine/wine/-/merge_requests/4452/diffs?diff_id=86107&start_sha=91359e56972e59db5d6ba500e614ee118c9920c2#78507d505947ac14f51de00766df6ad4893c1c07_176_174)
OK - I've made those changes. I've gone back to using a `cs` in the `struct d2d_device_context` and I've put the `struct d2d_factory` in `d2d1_private.h` so that we can make an inline call to `unsafe_impl_from_ID2D1Factory` within the `d2d_device_context_init` function.
I've also added a `D2D1_FACTORY_TYPE factory_type` to `struct d2d_factory` and created an inline helper function for checking that.