COMPMID-1246 Fixed Window::scale()

- There used to be two problems with scale():
    - The first argument of ceil_to_multiple was promoted to float
      which broke the function (For example ceil_to_multiple( 24.0, 8 ) will return 31.
    - "End - start" needs to be a multiple of step, not "end" (e.g start=1, end =5, step =4 is a valid dimension)

The reason it didn't break before is because Window::scale() was only
used on windows used by iterators, and therefore the "end" value is not
used in that context.

Change-Id: I1798db73014294ac82eed53c74eec3d4b8cb7d59
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/133967
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
1 file changed