diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-12-23 09:38:56 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-12-23 11:23:16 (GMT) |
commit | a8c3ed1dbe209488866e687d1a63c6143a04cfe0 (patch) | |
tree | 31afa83e4fc3a0a93e031cba03f9bcbf34e72781 /src/gui | |
parent | 61f214e60a074cbaf2413b2c77ed5a4cfd638edb (diff) | |
download | Qt-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