[win32] opengl - not NSWindow

2009-02-12 Thread Julien Isorce
Hi, The following minimal code fails. I got the error: w32_GLcontext.m:112 Assertion failed in Win32Subwindow(instance), method initWithView:. request of a window attachment on a view that is not on a NSWindow. I tried to debug it in parsing gnustep gui and backend sources. I found that it fa

Re: [win32] opengl - not NSWindow

2009-02-13 Thread Fred Kiefer
Looks like you are creating an OpenGL context and a view without a corresponding window. This wont work in GNUstep (it might on MacOSX, I don't know) and it would be useless anyway, as you wont be able to see anything in that view. You better start off by copying one of the OpenGL example applicat

Re: [win32] opengl - not NSWindow

2009-02-17 Thread Julien Isorce
Hi, Yep you right, I could see that I forgot to create a NSWindow and then call "NSWindow ::setContentView". Now it's ok about this. I have now an other question but I will open a new discussion. Thx Julien 2009/2/13 Fred Kiefer > Looks like you are creating an OpenGL context and a view witho