I am trying to find a way to set Display size according to screen size.
Different monitors should be able to support it.
Is there a already something which I can use, if not then how can I achieve something like this on my own.
Probably you want al_get_monitor_info.
e.g.
[edit] or maybe al_get_display_mode if you want to know what fullscreen modes your monitor will support.
Thanks!
.