Imagine writing GlCreateContext yourself, for starters, as has been done in the link I posted.