Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Using SF::RenderWindow with a game which is already using Dx9 Library  (Read 1193 times)

0 Members and 1 Guest are viewing this topic.

sector1337

  • Newbie
  • *
  • Posts: 1
    • View Profile
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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/