I read in http://www.ogre3d.org/wiki/index.php/Using_SDL_Input that the use of currentGLContext would allow me to issue ogre commands within an SDL window.
This is my code:
Code: Select all
misc["currentGLContext"] = Ogre::String("True");
RenderWindow *renderWindow = root->createRenderWindow("MainRenderWindow", 1024, 768, false, &misc);
Problem is, this ends up creating a second window and I am left with two black screens (even the original window isn't rendering what is previously was).
I greatly appreciate any help