Menu

#967 using currentGLContext creates a new context.

closed-accepted
bugfix (702)
5
2009-03-20
2009-02-09
matt rice
No

i'm not sure if this was the intended behaviour but it stopped my usage of ogre in an existing opengl window,
i'm using a gui system where the underlying windows are all abstracted away, so its not possible to get at the parentWindowHandle.

currently using currentGLContext, I get nothing but the viewport background color, but with the applied patch, ogre renders into the existing context.

Discussion

  • matt rice

    matt rice - 2009-02-09

    patch

     
  • Steve Streeting

    Steve Streeting - 2009-03-20

    @cabalistic - this looks fairly straightforward but if you could give it the once-over in v1-6 I'd appreciate it :)

     
  • Steve Streeting

    Steve Streeting - 2009-03-20
    • assigned_to: nobody --> cabalistic
     
  • Holger Frydrych

    Holger Frydrych - 2009-03-20

    Looks straightforward enough. It was definitely broken; I did a quick test and currentGLContext was working for me. Furthermore it didn't break the way my app was originally embedding Ogre. Committed to Shoggoth.

     
  • Holger Frydrych

    Holger Frydrych - 2009-03-20
    • status: open --> closed-accepted
     

Log in to post a comment.