[racket] openGL on Mac OS
At Thu, 28 Jun 2012 19:20:06 +0200, Petr Samarin wrote:
> > On Jun 27, 2012, at 11:54 PM, Matthew Flatt wrote:
> > Any other ideas?
>
> How about creating a dummy frame with an opengl canvas specifically if the
> system is a mac os?
Ok --- done, though by just creating a dummy GL context instead of a
canvas.
Specifically, `sgl/gl' requires a new `sgl/init' library, which
attempts to initialize platform-specific state to avoid crashes.
Currently, `sgl/init'; only does something on Mac OS X, where it
creates a dummy GL context if none is set as the current context.