SFML community forums

Help => Graphics => Topic started by: sector1337 on July 05, 2018, 09:37:24 pm

Title: Using SF::RenderWindow with a game which is already using Dx9 Library
Post by: sector1337 on July 05, 2018, 09:37:24 pm
As the title says, does it's possible to use that SF::RenderWindow class with Dx9 app ? Currently i was trying to hook that window to another game to make my own extra-window but it should looks like that sfml window the same with the game ones, not like another application.
Thanks going for those who will answer, Regards.
Title: Re: Using SF::RenderWindow with a game which is already using Dx9 Library
Post by: eXpl0it3r on July 05, 2018, 10:02:15 pm
In theory I guess it could be possible to create a window and then use the window handle with DirectX.
However this will additionally create an OpenGL context and any issues caused by this setup are your own to fix. If you want a windowing library with support for DirectX, you're (currently) better of with SDL or similar.