[racket] openGL on Mac OS

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jul 2 10:39:42 EDT 2012

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.


Posted on the users mailing list.