Fixed crash in GL 2 paint engine on Intel Atom.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 17 Jan 2012 08:05:38 +0000 (09:05 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jan 2012 09:30:17 +0000 (10:30 +0100)
commit82340ea5cd148253eb07877468bf3c8873f90e56
tree01062cd0f4cc763a2073137fc4dd426ef9583841
parent147bbda0675b7cc7afaea6bc617d6a0f249978f0
Fixed crash in GL 2 paint engine on Intel Atom.

The GPU in question supports GL 2 but not framebuffer objects. Since we
anyway have a font rendering path that doesn't use FBOs we might as well
not require framebuffer objects in order to use the GL 2 engine.

Task-number: QTBUG-22483
Change-Id: I2a80343fedda276e73e603ffe54edff58801af5b
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
(cherry picked from commit f13d0078d9f829cde2cd5b8b9eac40635a883ec6)
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp
src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h
src/opengl/qglextensions.cpp