aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@theqtcompany.com>2016-06-20 12:30:28 +0200
committerAndy Nichols <andy.nichols@qt.io>2016-06-20 10:39:31 +0000
commit7a1b5b1cfece18d5f4b2d8beb340d3cbe8f54451 (patch)
treeb245d2a942d8f28d6c4aab65a0a6b8cba0c4145d /src/3rdparty
parent1d515e2e0f58fd8ee60bc7f2b9a2b31a38c8ce43 (diff)
Software Image Node: Do not make equality check in setTexture
When setTexture was called on the Software image node, we were doing a check to see if the QSGTexture pointer was the same as the current texture assuming it meant that if they were the same pointer then it was in fact the same texture, and thus not dirty. This was a wrong assumption, because the texture data can be different but still use the same pointer. So the node should always respond by updating the texture when setTexture is called and mark the nodes material as dirty for the renderer. This allows canvas items to be updated at runtime with the software renderer. Change-Id: Idf504035a6aa858e865050a58460189a12e77ad4 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions