OpenGL support

Signed-off-by: James Hutchison <th3hutch@yahoo.co.uk>