]> git.mxchange.org Git - flightgear.git/commit
Realize viewer explicitly
authortimoore <timoore>
Mon, 15 Jun 2009 08:50:56 +0000 (08:50 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 15 Jun 2009 09:25:06 +0000 (11:25 +0200)
commitf0bfb4d137d8e8cca4d5ee30a55535dd7455c1ce
tree40c43b199f8c35258e5c410511f13ae86ee78824
parent862f59aded02526f4145ae6459bd5b2dd64a161e
Realize viewer explicitly

The osgViewer needs to be "realized" so that, among other things, threading
will start. This is normally done by osgViewer::run, but we don't call
that.
Don't realize graphics contexts; Let osgViewer code do it. This way
osgViewer::isRealized returns the correct answer.
src/Main/WindowBuilder.cxx
src/Main/fg_os_osgviewer.cxx