|
Calling al_get_monitor_info() before al_create_display() allowed |
Frank Drebin
Member #2,987
December 2002
|
Is is valid to call: ALLEGRO_MONITOR_INFO info; al_get_monitor_info(0,&info); printf("%i x %i",info.x2-info.x1,info.y2-info.y1); to get the desktop resolution before the call to al_create_display()? |
Frank Drebin
Member #2,987
December 2002
|
It seems to work (and the documentation doesn't say I have to). So I guess the answer is yes |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Now try it on the rest of the platforms. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
GullRaDriel
Member #3,861
September 2003
|
LMAO how Ed is making user cross checking allegro5 ^^ "Code is like shit - it only smells if it is not yours" |
|