Whoops, move a final bit of opengl functionality into the abstraction.