summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-04-28 09:52:33 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-04-28 09:52:33 (GMT)
commitf35b1fd3807c634f5fe60efecd401db7683a37fb (patch)
treeda51b0bc66acead4916cba367bd45beb8e88afa5 /src
parent3eded761167af317bab4f4d8c1ac0a12433eb03a (diff)
downloadQt-f35b1fd3807c634f5fe60efecd401db7683a37fb.zip
Qt-f35b1fd3807c634f5fe60efecd401db7683a37fb.tar.gz
Qt-f35b1fd3807c634f5fe60efecd401db7683a37fb.tar.bz2
Revert "Try to use multisampled opengl graphicssystem on all platforms"
This reverts commit 5f63f95def838ce72af99dc697ecce092fe7eb69. Fixes GL graphics system on Windows. With the patch, windows would pop up as completely empty.
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index 92a347b..7efa9bc 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -97,7 +97,6 @@ extern Q_GUI_EXPORT bool qt_win_owndc_required;
QGLGraphicsSystem::QGLGraphicsSystem(bool useX11GL)
: QGraphicsSystem(), m_useX11GL(useX11GL)
{
- 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