I was reading this tutorial: https://wiki.allegro.cc/index.php?title=Creating_a_fullscreen_display_with_maximum/minimum_resolution
I executed the code and it compiled fine. I started goofing around with just the function for getting the resolution and my laptop doesn't seem to line up with what the wiki states.
Per wiki:
al_get_display_mode(al_get_num_display_modes() - 1, &disp_data); // minimum res al_get_display_mode(0, &disp_data); // to get maximum supported resolution instead
My code:
The output is what made it confusing.
>a5test
Minimum Resolution: 1366 x 768
Maximum Resolution: 320 x 200
So is this a wiki error, my strange laptop, or am I misreading the code or wiki?
It's an ascending sort. Smallest is first. Wiki is wrong I would guess.
Okay. I just wanted to verify it as I was just starting to think maybe I had a weird graphics card [Intel].
I don't think the order is defined. On Linux, 0 yields the largest option for me. The wiki is wrong, yes.
I had a weird graphics card [Intel].
Don't worry. You do.