pure old opengl context in sdl2 library