Add support for OpenGL