On 5/30/08, Mikael Lax <[EMAIL PROTECTED]> wrote: > On Sat, 24 May 2008 23:40:28 -0500 > "Bart Botta" <[EMAIL PROTECTED]> wrote: > > Examples of using cl-opengl with other alternatives to glut would also > > be good, lispbuilder-sdl, CLX, direct glx/wgl/agl/etc... > There's an old post here > <http://article.gmane.org/gmane.lisp.cl-lispbuilder.general/648> showing how > to use cl-opengl with lispbuilder-sdl; my own tests have been successful as > well.
Yeah, I use it also, but it would be good to have an example with the official code. In particular the bit about making extensions work is probably not obvious (and missing from that post I think. For the record, the magic bit (as of the last time I tried it) is to add (setf %gl:*gl-get-proc-address* 'sdl-cffi::sdl-gl-get-proc-address) after the GL context is valid, and before you call any extensions). > As far as CLX is concerned, cl-opengl doesn't work with that, does it? I > seem to recall some discussion about this (on IRC maybe) but I don't really > remember so I could be wrong. Any further information on CLX + cl-opengl > would be appreciated by me as well. > Not sure about that, I've heard that it should work, but I haven't done any X coding in long enough that I don't know whether I would expect it to work or not... Either way, it would be nice to determine if it works or not, and provide examples if it does, or document it if not -b- _______________________________________________ cl-opengl-devel mailing list cl-opengl-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel