Jump to content
  • Advertisement
Sign in to follow this  
yurian

Windowing allegro window.

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

Reading the allegro docs, cannot find out how to window a window with allegro... Also wondering what X does. set_gfx_mode(GFX_AUTODETECT,640,480,X,X); Thank you =)

Share this post


Link to post
Share on other sites
Advertisement
the last 2 parameters are used for virtual screens. Pass 'GFX_AUTODETECT_WINDOWED' as the first param to create a windowed app.

Share this post


Link to post
Share on other sites
np. Yeah, the virtual screens are used for offscreen rendering stuffs ( like double/triple buffering , crossfades , and other effects ).

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!