Do not force OpenGL sample buffers on in the qnx qpa plugin
authorSean Harmer <sean.harmer@kdab.com>
Tue, 17 Apr 2012 19:40:19 +0000 (20:40 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Apr 2012 09:07:25 +0000 (11:07 +0200)
Change-Id: I6af40382102f2163f5ad8606b498a89db420c5d6
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/plugins/platforms/qnx/qqnxglcontext.cpp

index 882b717..934e6af 100644 (file)
@@ -141,7 +141,6 @@ QQnxGLContext::QQnxGLContext(QOpenGLContext *glContext)
     format.setRedBufferSize(redSize);
     format.setGreenBufferSize(greenSize);
     format.setBlueBufferSize(blueSize);
-    format.setSamples(2);
 
     // Select EGL config based on requested window format
     m_eglConfig = q_configFromGLFormat(ms_eglDisplay, format);