al_get_display_mode on Windows and Linux
It's me or al_get_display_mode() doesn't work the same in Windows as in Linux?
I was running the example that's on the Wiki:
And I'm getting the opposite of what the line number 18 says. I think that article is wrong or something... When I made that article I was on Windows and I think that was right, but now I'm not so sure...
You're depending on the highest resolution to be last? That seems dodgy to me, no matter what OS you're running.
I don't think the order of the modes is defined anywhere. If you want the largest mode, you need to look for it.
Thread #612859. Printed from Allegro.cc
Where is that wiki article? It'd be nice if Allegro sorted the results, but it doesn't currently guarantee it.
What do you expect?
height, then width
width, then height
height * width, then height
height * width, then width