diff options
author | Andy Nichols <nezticle@gmail.com> | 2013-05-07 15:36:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-10 17:43:52 +0200 |
commit | cd2a51a66f52767c20e80361033c573651b3a08d (patch) | |
tree | 324a97b81ce43b524a0a2047103d271e388155d3 /src/platformsupport/services | |
parent | 074975055d7091c7bbfe0a0e1ad2c0900359955b (diff) |
Fix Invalid Drawable error for QGLWidget on Mac
You are not supposed to call NSOpenGLContext -setView: for a view that
has not yet called drawRect. We we attempted to do this, we would get
the invalid drawable error, leading to QGLWidgets just drawing garbage.
Task-number: QTBUG-28175
Change-Id: I47aef07b4676f2db8591f98fc1661f6f447bdef9
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/platformsupport/services')
0 files changed, 0 insertions, 0 deletions