terrain: Fix glx-viewport-draw method.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 8 Jan 2016 19:51:58 +0000 (12:51 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Fri, 8 Jan 2016 19:51:58 +0000 (12:51 -0700)
commit21eb9ea373a37578a9c96a6c9501345da08ae795
treea565e76499d3616341a9474b90dba8145d1f617d
parent6f0f2053110ace920772f402447392b2dece84d3
terrain: Fix glx-viewport-draw method.

Remove redundant (now incorrect) call to with-glx-widget (i.e.
glXMakeCurrent).  GL no longer allows recursive locking.

Fix %trace to use outf-error instead of generic IO.  The latter may
suspend-current-thread during a callback.

Punt glColorMaterial and much frobbage (e.g. setting params to their
defaults) copied from examples.  Minimize differences between
draw-colored and draw-shaded.
src/planetarium/Makefile
src/planetarium/mit-3d.pkg
src/planetarium/terrain.scm