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)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>
Mon, 1 Feb 2010 13:39:41 +0000 (14:39 +0100)
commitafe0f17eb5974adbedd1bc1f2fcd98459d92df47
tree7b2933344e7e965451beb387b7536419f4f74999
parenta1c89baa7d88a4a662ccd2fdb3381844fa116365
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
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp