mirror of
https://github.com/brl/mutter.git
synced 2025-02-03 15:22:15 +00:00
Robert Bragg
bc372d2734
viewport: consistently use floats for viewports
OpenGL < 4.0 only supports integer based viewports and internally we have a mixture of code using floats and integers for viewports. This patch switches all viewports throughout clutter and cogl to be represented using floats considering that in the future we may want to take advantage of floating point viewports with modern hardware/drivers.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%