NSOpenGL

2008-01-19 Thread Thomas Gamper
Hi! Recently I was using NSOpenGLView and fixed a couple of bugs in gnustep-back 0.12.0 ( I believe newer versions have the same issues): - XGGLPixelFormat handling was confusing glx parameters, since glx 1.3 has some different parameters than earlier versions of glx - XGGLContext did not cre

Re: NSOpenGL

2008-01-21 Thread Fred Kiefer
Hi Thomas, thank you for that rework. I just submitted these changes to SVN, with a slight bit of rework and reformatting. What I don't like about the current code (not just your changes) is that it is still unclear to me, whether the difference between the minor releases of GLX is a compile time

Re: NSOpenGL

2008-01-22 Thread Fred Kiefer
Thomas Gamper wrote: >> Also the usage of the union in pixel format looks strange, we need to >> read what was set, not what suits the current GLX version. > Could you explain in detail, please? > Oh, this is nothing complicated. What I mean is that when we create the pixel format object. we fill

Re: NSOpenGL

2008-01-23 Thread Thomas Gamper
Hi! thank you for that rework. It's barely a rework, I didn't change the structure of the code, I just tried to fix some issues so that it would work for me. I tried to get some idea how the gnustep-backends work, but didn't come really far. So I still fear I screwed up something without kno