summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2010-01-05 07:56:04 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2010-01-05 07:56:04 (GMT)
commit617773f717e590b7945ccf0635e2ff64303135cc (patch)
tree5474029352bbc048269f99f30407b4ed25c18d9b /src/opengl
parent6893e329aa640b3baf156dbcedfc8706f6f9a450 (diff)
downloadQt-617773f717e590b7945ccf0635e2ff64303135cc.zip
Qt-617773f717e590b7945ccf0635e2ff64303135cc.tar.gz
Qt-617773f717e590b7945ccf0635e2ff64303135cc.tar.bz2
fix compilation in GL2 paint engine for Windows
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
index b3b5fe1..bd067f9 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
@@ -1567,6 +1567,7 @@ bool QGL2PaintEngineEx::begin(QPaintDevice *pdev)
#if !defined(QT_OPENGL_ES_2)
#if defined(Q_WS_WIN)
+ extern Q_GUI_EXPORT bool qt_cleartype_enabled;
if (qt_cleartype_enabled)
#endif
d->glyphCacheType = QFontEngineGlyphCache::Raster_RGBMask;