remove OpenGL dependencies.