summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-12-09 11:14:58 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-12-09 13:15:58 (GMT)
commitc4d66e27ea69b84bf280209fc72239132924930d (patch)
tree572693504e263b844bb4312968721eda91903985 /src/opengl/qgl_p.h
parent6744e241ee41a50b02a76e3e755ec448676589a4 (diff)
downloadQt-c4d66e27ea69b84bf280209fc72239132924930d.zip
Qt-c4d66e27ea69b84bf280209fc72239132924930d.tar.gz
Qt-c4d66e27ea69b84bf280209fc72239132924930d.tar.bz2
GLES 2 should *not* use a multisampled format by default.
This is a platform regression and should never have been there in the first place. Having this as the default format on embedded devices may drop the framerates with as much as 30% on selected HW. Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 615fb60..8a0b31f 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -133,9 +133,6 @@ public:
: ref(1)
{
opts = QGL::DoubleBuffer | QGL::DepthBuffer | QGL::Rgba | QGL::DirectRendering | QGL::StencilBuffer;
-#if defined(QT_OPENGL_ES_2)
- opts |= QGL::SampleBuffers;
-#endif
pln = 0;
depthSize = accumSize = stencilSize = redSize = greenSize = blueSize = alphaSize = -1;
numSamples = -1;