• Advertisement
Sign in to follow this  

Windowing allegro window.

This topic is 3787 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
That is all? Thank you very much! =)

But I don't know what a virtual screen is.

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