can't use opengl if i use SDL_CreateWindowFrom |
can't use opengl if i use SDL_CreateWindowFrom |
ancientli
|
If you want use opengl, must call SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl") before SDL_CreateRenderer.
|
|||||||||||
|
airc
|
yes i did that , but nothings changed . SDL_RendererInfo.name always show direct3d9
|
|||||||||||
|
airc
|
after searching seems an old problem , sdl can't create an opengl context for a forigen window ! really weird.
|
|||||||||||
|