Advertisement Jump to content


This topic is now archived and is closed to further replies.


Embeding SDL surfaces in windows

This topic is 5393 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

Is it possible to give control of a window I made to SDL. I know I can give this DirectX surface property to a window, and I know the same thing is possible with OpenGl, but what about SDL? The true general first seeks victory, then seeks battle - Sun Tzu [edited by - Drakkcon on April 13, 2004 4:50:26 PM]

Share this post

Link to post
Share on other sites
Actually, you can do it. But you can only have 1 window at a time (with SDL running on it; otherwise you can have as many windows as you want). But you have to remember, SDL was meant to be cross-platform.

I don't have the source files at this time, but I know it requires setting an environment variable. If I find the source, I'll post it here.



Hope that helps.

[edited by - MetaCipher on April 13, 2004 7:55:59 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!