summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-08 12:30:19 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-22 06:09:46 (GMT)
commit835a8e53d93f71fee0c73c3e02f73a4a01215d60 (patch)
treefc04bcbc084c1a721ee22dea356c7f6e3b00189c /src/gui
parenta66826ed79203d1d665089eae4133921872a4532 (diff)
downloadQt-835a8e53d93f71fee0c73c3e02f73a4a01215d60.zip
Qt-835a8e53d93f71fee0c73c3e02f73a4a01215d60.tar.gz
Qt-835a8e53d93f71fee0c73c3e02f73a4a01215d60.tar.bz2
Resubmit support for subpixel antialiasing on text in the GL2 engine.
The antialiasing is currently not gamma corrected and is disabled on OpenGL ES 2.0. Reviewed-by: Samuel
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qapplication_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp
index 2b1aaf5..6ecd535 100644
--- a/src/gui/kernel/qapplication_win.cpp
+++ b/src/gui/kernel/qapplication_win.cpp
@@ -220,7 +220,7 @@ static void resolveAygLibs()
# define FE_FONTSMOOTHINGCLEARTYPE 0x0002
#endif
-bool qt_cleartype_enabled;
+Q_GUI_EXPORT bool qt_cleartype_enabled;
Q_GUI_EXPORT bool qt_win_owndc_required; // CS_OWNDC is required if we use the GL graphicssystem as default
typedef HCTX (API *PtrWTOpen)(HWND, LPLOGCONTEXT, BOOL);