Regal is an open-source GL-alike cross-platform user-space OpenGL layer.
The purpose of this patch is to support building freeglut in Regal-mode - including
<GL/Regal.h> rather than various GL/ES/GLX platform-specific headers.
I've had success running some simple desktop GL/GLUT programs on ARM Linux
with EGL/ES 2.0 using freeglut and Regal. The EGL and ES 2.0 support in
freeglut was well suited to this, and the freeglut sources have been rolled into
the Regal tree. Upstreaming this for easier maintenance.
This patch should have no side-effects unless FREEGLUT_REGAL is defined
- Nigel Stewart