Re: OpenGL context sharing

2009-03-27 Thread Clemens Arth
Hi, yes, it might be something like this. Unfortunatly I had a fatal hard disk crash today so it will take some time until I get to the point again where I can try out what you suggested. To test that and to get more into this topic I think I will build a sample setup to get more into this

OpenGL context sharing

2009-03-26 Thread Clemens Arth
Hi, I got a question to a rather weird problem I came across. We are developing an entire software suite in a set of shared libraries which are linked together with some type of Bootloader to an application. One library contains stuff related to IO, one contains rendering stuff and so on. I

Re: OpenGL context sharing

2009-03-26 Thread Alexander Spohr
Sounds like your context is not set. How do you call the „drawing code“ in B? Possible solution: Make a subclass of NSOpenGLView that overrides drawRect: in A Give it a delegate and make some instance from B the delegate. Trigger [NSOpenGLViewSubclass display] NSOpenGLViewSubclass should then