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.