summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/src
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-06-17 15:08:24 +0200
committerJani Heikkinen <jani.heikkinen@digia.com>2014-06-18 13:39:32 +0200
commit10ff9d5b6f9643d3bcae519d8bf5107711d4e55d (patch)
tree68a71f6ea8ffc084b937fa6e6d96c35825d90a3c /src/3rdparty/harfbuzz-ng/src
parentcf7805d3644f762ac9b70de72eaa9f847bc95f89 (diff)
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>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src')
0 files changed, 0 insertions, 0 deletions