Operating System: Linux
Render System: OpenGL 3+
I'm trying to render to multiple windows. But I'm not getting any output on the seconds.
I create my windows with SDL.
I have managed to get this working before with Ogre 2.0 (http://cegui.org.uk/forum/viewtopic.php?f=10&t=6971) but this time it is refusing to work. Perhaps the difference is in using SDL to create the windows. Or the opengl 3+ rendersystem acts differently than the older one (I can't remember if I had already switched to the opengl 3+ at that point).
I also found this thread: viewtopic.php?t=83442 which is hinting at that multiple OpenGL contexts are the issue.
Here's a snippet from my ogre.log, which seems to indicate that the second window creates its own context.
Code: Select all
21:23:05: GL3PlusRenderSystem::_createRenderWindow "My Second window", 1280x720 windowed miscParams: FSAA=1 gamma=false parentWindowHandle=27892224:0:155189258 vsync=false
21:23:05: Created GL 4.3 context
21:23:05: GLXWindow::create used FBConfigID = 165
21:23:13: DefaultWorkQueue('Root') shutting down on thread main.
21:23:13: *-*-* OGRE Shutdown
My code for creating the Ogre windows is here: https://github.com/hhyyrylainen/Leviath ... ow.cpp#L55
I can additionally upload the full Ogre log and RenderDoc captures if those would be helpful.