I don't think it's possible. You could create an invisible window and use it to render. There are also software GL implementations not requiring a window (Mesa had somethinig).
↧