summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_win.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-08 12:30:19 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-16 08:11:40 (GMT)
commitb8ff02a67ebd8246253823b53cfed98eef400547 (patch)
tree011c1ea8b6d860e5a43824caa6903977394048ad /src/gui/kernel/qapplication_win.cpp
parent120329adb47dba60f532c1c2fd2ad0f37b812437 (diff)
downloadQt-b8ff02a67ebd8246253823b53cfed98eef400547.zip
Qt-b8ff02a67ebd8246253823b53cfed98eef400547.tar.gz
Qt-b8ff02a67ebd8246253823b53cfed98eef400547.tar.bz2
Added support for subpixel antialiasing on text in the GL2 engine.
The antialiasing is currently not gamma corrected. Reviewed-by: Samuel
Diffstat (limited to 'src/gui/kernel/qapplication_win.cpp')
-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);