QGLTextureGlyphCache: Fix text rendering artifacts on NVIDIA
authorJonathan Liu <net147@gmail.com>
Fri, 26 Oct 2012 11:53:56 +0000 (22:53 +1100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 13:25:32 +0000 (15:25 +0200)
commit8900bc778f326e6b22ecfceb0b0b64394f3510fb
treed960ae85724f39228968bb5ee6464686bf8f5691
parent5bddaf76e027a4688a9f26a6a6b3fa80e0903cb7
QGLTextureGlyphCache: Fix text rendering artifacts on NVIDIA

Check GL_VENDOR to test whether using NVIDIA graphics. On Linux,
GL_VERSION and GL_VENDOR contains "NVIDIA". On Windows, only
GL_VENDOR contains "NVIDIA".

Task-number: QTBUG-27658
Change-Id: I5e74d07ecb9522d1a86ac2953415a51bbdbe8c49
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp