I'm using Lazarus form and TLazOpenGLContext. It should be perfectly multiplatform. (That with dglOpenGL header, no glut needed for me at least.)