Fixed rendering of text with gradient pen in GL 2 engine.
authorSamuel Rødal <sroedal@trolltech.com>
Thu, 10 Sep 2009 11:38:58 +0000 (13:38 +0200)
committerSamuel Rødal <sroedal@trolltech.com>
Thu, 10 Sep 2009 11:45:16 +0000 (13:45 +0200)
commitd2f8e1ebbf7b5bb0e143ac797eccb9d059173676
treeaec141a08332fae74d213d40539533fbf2026877
parent914cebd0c8db1a09ca3d2809a08369b2206f76dd
Fixed rendering of text with gradient pen in GL 2 engine.

We should bind the text mask texture after calling prepareForDraw(),
since prepareForDraw() might need to initialize the gradient texture,
which means the text mask will no longer be bound.

Task-number: 261058
Reviewed-by: Kim
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp