Fixed hellowindow making context current in wrong thread.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 31 Aug 2011 07:14:00 +0000 (09:14 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 31 Aug 2011 07:26:48 +0000 (09:26 +0200)
commita7d682dd9c9271d137d5aa73a9192a812492a596
tree8d0f7eef51800d55441f26bcb87ee85be1f6c46d
parentdf0ff8fd4eeb5a3a84c86729f3b1f013eedd1680
Fixed hellowindow making context current in wrong thread.

Make the context a child of the Renderer, which is already moved to the
correct thread.

Change-Id: Iafda090e15b322c03e2c10b1905050f636b90197
Reviewed-on: http://codereview.qt.nokia.com/3915
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
examples/opengl/hellowindow/hellowindow.cpp