Commit 27cbb58a authored by Andy Nichols's avatar Andy Nichols Committed by The Qt Project
Browse files

Fix breakage of tst_qquickwindow::grab(invisible)


Instead of waiting for -drawRect to call -setView on the
NSOpenGLContext, we go ahead and attempt to set the context as soon as
possible.  If it is indeed required that we call -drawRect first then
will try to call -setView again during -drawRect with the new
NSOpenGLContext.

Change-Id: I33d9f2ba241b49e8cfa6c9156dd5bf5e4cc6b164
Reviewed-by: default avatarLiang Qi <liang.qi@digia.com>
Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
parent 32f09caa
No related merge requests found
Showing with 9 additions and 12 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment