summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-12-23 09:38:56 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-12-23 11:23:16 (GMT)
commita8c3ed1dbe209488866e687d1a63c6143a04cfe0 (patch)
tree31afa83e4fc3a0a93e031cba03f9bcbf34e72781 /src/gui
parent61f214e60a074cbaf2413b2c77ed5a4cfd638edb (diff)
downloadQt-a8c3ed1dbe209488866e687d1a63c6143a04cfe0.zip
Qt-a8c3ed1dbe209488866e687d1a63c6143a04cfe0.tar.gz
Qt-a8c3ed1dbe209488866e687d1a63c6143a04cfe0.tar.bz2
Fix text rendering on GL2 paint engine
If you draw with a brush, then draw a pixmap, then draw with the same brush, the GL2 engine wouldn't update the fragment shader to use the brush. This is because it detected the brush hadn't changed and so didn't need updating. To fix this, we now set the current brush to noBrush when drawing an image/pixmap so the engine knows it needs to update the GL state for the brush. Reviewed-By: Kim
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions