diff options
author | Morten Johan Sorvig <morten.sorvig@digia.com> | 2012-10-23 11:31:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-03 00:24:37 +0100 |
commit | 9830ba007a36b9923b7c10d33740952c54cf86e0 (patch) | |
tree | c341e9eb10a185082dced4c06733064d0cb6be89 /src/opengl/opengl.pro | |
parent | efc9b77a6e9a0efe0c260a4a7fe18bf3f87a8f13 (diff) |
Make QGLWidget::paintGL() call glClear().
Creating and displaying a plain QGLWidget on Mac would
display "garbage" or previous frame buffer content
on screen. This looks broken and raises interesting
privacy concerns.
Fix by adding a call to glClear().
Change-Id: I507c24275e41fac0be5f518c5a70d151099ae6b8
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/opengl/opengl.pro')
0 files changed, 0 insertions, 0 deletions