Fixed garbled 3D Qt logo in the overpainting example.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Mon, 1 Feb 2010 13:30:15 +0000 (14:30 +0100)
committerJason McDonald <jason.mcdonald@nokia.com>
Sat, 6 Feb 2010 08:19:25 +0000 (18:19 +1000)
commit34672c99ef704d17f383c1671c039ca424151868
tree0253d514de735df11c92709301dee6aa8aaf240d
parent6f40ae1992ce881da26366b35771f325e28dbdd2
Fixed garbled 3D Qt logo in the overpainting example.

Disable vertex attribute arrays in the GL2 paint engine when
calling QPainter::beginNativePainting() and QPainter::end().

Task-number: QTBUG-7781
Reviewed-by: Trond
(cherry picked from commit afe0f17eb5974adbedd1bc1f2fcd98459d92df47)
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp