Make it depend on OpenGL instead of the old StateVar, ObjectName and Tensor packages.