Specialize OpenGL window procedure.