Fix hue clamping in Context2D
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Mon, 24 Aug 2015 13:29:03 +0000 (15:29 +0200)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Mon, 24 Aug 2015 14:05:09 +0000 (14:05 +0000)
commit6067b74bb7baadbd28bfdfa8e2d63b775c972b0f
tree3918001366e4e6a2835153a7fb94cbd55cb5def5
parent27bee8076f50a948ffb9997e2a0673854681437d
Fix hue clamping in Context2D

It goes from 0..359, not 0..255.

Task-number: QTBUG-47894
Change-Id: I0612a9d5e4999afae7703b5c49741b94fb0da07f
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
src/quick/items/context2d/qquickcontext2d.cpp
tests/auto/quick/qquickcanvasitem/data/tst_context.qml