diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-27 18:12:44 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-02-01 08:49:26 +0000 |
commit | 920472c85f6a5cd96344c28dbba0f199c34c6c10 (patch) | |
tree | 681cfae36f9df7406459f3509a384eb0b5a290ab /tests/manual/qopenglwidget/openglwidget/openglwidget.h | |
parent | 758b7b0d88742db7db223a69d689e235e6272f85 (diff) |
Fix clipRect interpretation in composited backingstores
Empty clipRect means "clip away completely", not "no clipping".
Task-number: QTBUG-50719
Change-Id: I6a9dd66130716a921fe9fc245582274e3c9718fe
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'tests/manual/qopenglwidget/openglwidget/openglwidget.h')
-rw-r--r-- | tests/manual/qopenglwidget/openglwidget/openglwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/qopenglwidget/openglwidget/openglwidget.h b/tests/manual/qopenglwidget/openglwidget/openglwidget.h index a1d5490845..1b9a66d877 100644 --- a/tests/manual/qopenglwidget/openglwidget/openglwidget.h +++ b/tests/manual/qopenglwidget/openglwidget/openglwidget.h @@ -49,6 +49,8 @@ public: void resizeGL(int w, int h); void paintGL(); + void setClearColor(const float *c); + private: QScopedPointer<OpenGLWidgetPrivate> d; }; |