diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-22 14:20:50 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-22 14:38:11 (GMT) |
commit | 5f63f95def838ce72af99dc697ecce092fe7eb69 (patch) | |
tree | 33f9933f9d761a7804e9a82db61b2a0440fdd27d /src/opengl | |
parent | 8f34510750bb125ae749863d0174d96c9e0aabb2 (diff) | |
download | Qt-5f63f95def838ce72af99dc697ecce092fe7eb69.zip Qt-5f63f95def838ce72af99dc697ecce092fe7eb69.tar.gz Qt-5f63f95def838ce72af99dc697ecce092fe7eb69.tar.bz2 |
Try to use multisampled opengl graphicssystem on all platforms
Reviewed-By: Samuel
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index ca88de3..b693245 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -97,6 +97,7 @@ extern Q_GUI_EXPORT bool qt_win_owndc_required; QGLGraphicsSystem::QGLGraphicsSystem() : QGraphicsSystem() { + QGLWindowSurface::surfaceFormat.setSampleBuffers(true); #if defined(Q_WS_X11) && !defined(QT_OPENGL_ES) // only override the system defaults if the user hasn't already // picked a visual |