22 Nov
2025
22 Nov
'25
3:24 p.m.
Nikolay Sivov (@nsivov) commented about dlls/d2d1/effect.c:
+{ + float angle; +}; + +EFFECT_PROPERTY_RW(hue_rotation, angle, FLOAT) + +static const D2D1_PROPERTY_BINDING hue_rotation_bindings[] = +{ + { L"Angle", BINDING_RW(hue_rotation, angle) }, +}; + +static HRESULT __stdcall hue_rotation_factory(IUnknown **effect) +{ + static const struct hue_rotation_properties properties = + { + .angle = 0.0f, No need for an explicit initializer here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9558#note_123359