can't use opengl if i use SDL_CreateWindowFrom

"airc" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hi
iam creating my edit tool using wxwidgets & sdl2 , i notied that sdl2 uses d3d9 by default . 
sdl2 window initialized with SDL_CreateWindowFrom(wxpanel->GetHandle()) , so there is no SDL_WINDOW_OPENGL flag .
i used SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl") befor the creation of the renderer , but sdl2 still use d3d9.

any advices ?

thanks

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.