GskTransform: Remove useless fmod check

All angles are in the [0; 360[ range
This commit is contained in:
Timm Bäder 2020-02-02 13:21:36 +01:00 committed by Matthias Clasen
parent cbb05a3eab
commit 8388791f87

View File

@ -751,9 +751,6 @@ gsk_rotate_transform_apply_2d (GskTransform *transform,
GskRotateTransform *self = (GskRotateTransform *) transform;
float s, c, xx, xy, yx, yy;
if (fmodf (self->angle, 360.0f) == 0.0)
return;
_sincos (self->angle, &s, &c);
xx = c * *out_xx + s * *out_xy;