On Fri, Jul 18, 2014 at 10:21 AM, Ivan Vučica <[email protected]> wrote:
> On Fri, Jul 18, 2014 at 2:09 PM, Matt Rice <[email protected]> wrote:
>
>>  getting gnustep to hand over said window is another task entirely..
>
>
> Window? Couldn't you get OGRE to just use the 'current OpenGL context'
> (which would be the platform specific context object that's backing
> NSOpenGLView's NSOpenGLContext)?
>
> Does it actually need access to the HWND or its equivalents in other
> windowing systems?

went back and looked at the code and you are of course correct
(forgive me as it's been a number of years).

the problem was that NSOpenGLContext doesn't create a GL context until
it's been set to a view, leading us to intialize much of the graphics
engine/upload textures during awakeFromNib, and having a blank view
until that is finished, this may/may not have changed in the time
since, not sure.

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to