Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL get GlContext  (Read 3085 times)

0 Members and 1 Guest are viewing this topic.

kattle87

  • Newbie
  • *
  • Posts: 6
    • View Profile
OpenGL get GlContext
« on: March 13, 2011, 11:34:59 am »
Hello everyone! I am trying to blend SFML with Ogre3d... I know it has been discussed a few times already, but as far as I could find none has pointed out a possible solution: there's a way for Ogre to draw into existing openGL context, I couldn't try it on linux where it is more straightforward, while for windows one needs the window handle and the OpenGL context as provided by sdl (should be like SDL_getWMinfo.hglrc/. do you think this might be doable? I know there's OIS, but the less dependencies, the better ;)and I will use sfml for networking and audio anyway

EDIT: I found an post in this forum about getting the GL context with a windows function. If I succeed in making ogre work in SFML I will report and try to provide a sample.