diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-10 23:41:37 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-02-16 00:53:36 (GMT) |
commit | c6ba330bc92ad8704f53a79f8f79d87c22b1db1e (patch) | |
tree | a2a5fe116c6d10ef5239a4352aa0215325500861 /src/opengl | |
parent | 4460d24950614bd7c60ad7ec14e0418f1b06cc86 (diff) | |
download | Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.zip Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.gz Qt-c6ba330bc92ad8704f53a79f8f79d87c22b1db1e.tar.bz2 |
MOBILITY-404 QS Windows.
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index d2fb925..e39d385 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -90,6 +90,9 @@ QT_BEGIN_NAMESPACE //#define QT_GL_NO_SCISSOR_TEST +#ifdef Q_WS_WIN +extern Q_GUI_EXPORT bool qt_cleartype_enabled; +#endif extern QImage qt_imageForBrush(int brushStyle, bool invert); @@ -1673,7 +1676,6 @@ 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; |