Add opengl support