use OpenGL’s StateVar instead of Data.StateVar

Necessary to cooperate with OpenGL.  Happy to hear of other solutions if you have one.