Added minimal OpenGL support