• Robert Bragg's avatar
    viewport: consistently use floats for viewports · 013b2433
    Robert Bragg authored
    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.
clutter-paint-volume.c 23.8 KB