Small OGL cleanup

Couldn't it be done inline in the header though?