On 3 Feb 2009, at 1:40 pm, felix winkelmann wrote:
Note that you can get access to this function quickly using #> #include <SDL/SDL.h> <# (define sdl:gl-swap-buffers (foreign-lambda void "SDL_GL_SwapBuffers"))
Don't forget that this will only work in *compiled* code, though. If you're experimenting in the interpreter, put the above in its own file (swapbuffer.scm, perhaps) and do: csc -s swapbuffer.scm Then in your code, write: (load "swapbuffer") ...and it should sort it out. ABS -- Alaric Snell-Pym Work: http://www.snell-systems.co.uk/ Play: http://www.snell-pym.org.uk/alaric/ Blog: http://www.snell-pym.org.uk/?author=4 _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
