automatic glut initialization
authorAndy Wingo <wingo@pobox.com>
Mon, 11 Feb 2013 15:00:45 +0000 (16:00 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 11 Feb 2013 15:00:45 +0000 (16:00 +0100)
commitd24cc2b8f241589724540cee113ec827715bde19
tree8515f47a42db5e5d051e209123f85604544de396
parenta34227c45ffb01cd1b3f9ca055d2f4d4d022a5a1
automatic glut initialization

* figl/glut/runtime.scm (resolve): Run a hook before resolving glut
  symbols.  Remove the plural define-glut-procedures.

* figl/glut.scm: Rename glut-init to initialize-glut, and add keyword
  arguments for initial window size, position, and display mode.
  Default to (program-arguments) for args.  Make the glut-init? marker
  global, not thread-local.  Add resolve hook to initialize-glut as
  needed.

* examples/glut/demo.scm: Update.
examples/glut/demo.scm
figl/glut.scm
figl/glut/runtime.scm