mirror of
https://github.com/brl/mutter.git
synced 2025-02-28 02:34:09 +00:00

So as to eliminate floating point precision errors that creep in during matrix operations. 1/256th is chosen as a reasonable maximum resolution to cover any realistic fractional scaling factor. Floats can represent such a fraction losslessly because it is a small power of 2. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1403 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1429