diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-11-19 10:31:34 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-11-23 13:12:02 +0000 |
commit | 39c0d16a8e11ba7523a7dbeb3b1d6ee3ddfc09e8 (patch) | |
tree | 4cc20648b24d8d68a8154045ec8238aa58e7faba /src/plugins/platforms | |
parent | 9599ee5ab7236130e3c375b56b6c0f00094e3a36 (diff) |
Send a paint after resize correctly from QOpenGLWidget
Due to recreating the underlying framebuffer we absolutely need a
re-render. However, going directly through paintGL() is wrong since
application code may override paintEvent() instead. Such code would
then miss these repaint requests.
To overcome this, simply rely on paint events, like the normal code
path does.
Task-number: QTBUG-49466
Change-Id: I6ddb9eb53bedb1655a9714b9b77faa1c439766a2
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions