golang OpenGL helper functions