Windowing allegro window.
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 =)
the last 2 parameters are used for virtual screens. Pass 'GFX_AUTODETECT_WINDOWED' as the first param to create a windowed app.
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
Popular Topics
Advertisement