Go to file
Laszlo Agocs 10ff9d5b6f Handle invalid sample counts gracefully in FBOs
Passing in a sample count of -1 should be treated as 0. This is common
when setting up framebuffer formats from a QSurfaceFormat where the
default, unset value is indicated by a value of -1.

This broke QQuickWidget which was unaware of this limitation of
QOpenGLFramebufferObject and was passing format.samples() as the sample
count without making sure it is 0 or higher.

Task-number: QTBUG-39699
Change-Id: I324b8b006eaa992c15ae932f9df305500fefeb65
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-06-18 13:39:32 +02:00
bin
config.tests Allow building against static ICU libs also on Unix 2014-04-29 14:42:26 +02:00
dist Update changelog for Qt 5.3.0 2014-05-12 06:39:55 +02:00
doc Merge remote-tracking branch 'origin/release' into stable 2014-05-12 14:01:46 +02:00
examples Merge remote-tracking branch 'origin/stable' into 5.3 2014-06-14 18:11:52 +02:00
lib
mkspecs install .lib files for static libs again 2014-06-16 12:42:25 +02:00
qmake Ensure that there is no duplication of the output directory in output 2014-06-06 08:49:06 +02:00
src Handle invalid sample counts gracefully in FBOs 2014-06-18 13:39:32 +02:00
tests Merge remote-tracking branch 'origin/stable' into 5.3 2014-06-14 18:11:52 +02:00
tools Strip bootstrapped binaries of unused sections 2014-05-19 19:33:15 +02:00
util
.gitattributes
.gitignore
.qmake.conf
.tag
configure Strip bootstrapped binaries of unused sections 2014-05-19 19:33:15 +02:00
configure.bat
header.BSD
header.FDL
header.LGPL
header.LGPL-ONLY
INSTALL
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL
LICENSE.LGPL Update copyright year in LICENSE.LGPL 2014-03-31 12:36:33 +02:00
LICENSE.PREVIEW.COMMERCIAL
qtbase.pro untangle use of system vs. shell path(-list) semantics 2014-04-30 16:56:54 +02:00
sync.profile