Windowing allegro window.

Started by
2 comments, last by ahayweh 16 years, 6 months ago
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 =)
Advertisement
the last 2 parameters are used for virtual screens. Pass 'GFX_AUTODETECT_WINDOWED' as the first param to create a windowed app.
That is all? Thank you very much! =)

But I don't know what a virtual screen is.
np. Yeah, the virtual screens are used for offscreen rendering stuffs ( like double/triple buffering , crossfades , and other effects ).

This topic is closed to new replies.

Advertisement