Jump to content
  • Advertisement
Sign in to follow this  

How to render into another window?

This topic is 2953 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I need to create an interface overlay which launches different games and adds some visual ques over the game being run.

The question is how can I render on top of a full screen game's window without interfering with the ongoing game (beyond the interference that might naturally occur due to visual interference)?

Any solution be it DirectX, SDL or OpenGL (preferably in that order) will be most welcome.

On that note I have found the SDL WINDOWID "hack" which did not work if I set SDL_OPENGL value in SDL_SetVideoMode. Otherwise I could get it to render but it flickered between my visual and the in game visual which was not my intention, my intention is to have it render on top of the game (usually small symbols or text in the middle or corners of the game).

Thanks in advance!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!