When calling SDL_CreateWindowFrom(), make the window compatible with OpenGL.
Defined in SDL_hints.h
#define SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL "SDL_VIDEO_FOREIGN_WINDOW_OPENGL"
This variable can be set to the following values:
By default SDL will not make the foreign window compatible with OpenGL.