watgfx is a source-compatible, partial implementation of the WATCOM's C Graphics library that draws on a OpenGL surface using FreeGLUT (a GLUT clone).