Hey everyone,

Thusly (https://github.com/thusly) has provided a very nice improvement to 
the way the OpenGL package is loaded. Now, one loads the package, specifies 
a version, and then loads up the relevant functions. An example:

[code]

> using OpenGL> @OpenGL.version "3.2" # (OpenGL namespace now populated.)> 
> @OpenGL.load # (Main namespace now populated.)
[/code]


The process of setting a global variable has been removed, which will break 
all work currently based on OpenGL, but the change is hopefully minor 
enough that it won't cause too much trouble for anyone. The examples in the 
SDL and GLUT packages will be updated.

The aim is for this to be the main interface going forward. We think that 
it would be great if we could remove the "OpenGL.load" call, but that may 
be unavoidable.

Best,
Rob

Reply via email to