Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDL1]: list of modes returned by SDL_ListModes() didn't sorted correctly. #51

Closed
kas1e opened this issue Feb 2, 2019 · 2 comments

Comments

Projects
2 participants
@kas1e
Copy link

commented Feb 2, 2019

According to the https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdllistmodes.html, the list of screenmodes should be sorted from largest to smallest (as it done on win32 and linux for example), while on amigaos4 realisation, we have in output something like this:

more_num: 0, w = 1920, h = 1200
more_num: 1, w = 1600, h = 1200
more_num: 2, w = 1920, h = 1080
more_num: 3, w = 1440, h = 900
more_num: 4, w = 1024, h = 768
more_num: 5, w = 1280, h = 720

While should be:

more_num: 0, w = 1920, h = 1200
more_num: 2, w = 1920, h = 1080
more_num: 1, w = 1600, h = 1200
more_num: 3, w = 1440, h = 900
more_num: 5, w = 1280, h = 720
more_num: 4, w = 1024, h = 768

@kas1e kas1e changed the title [amigaos4]: list of modes returned by SDL_ListModes() didn't sorted correctly. [amigaos4][SDL1]: list of modes returned by SDL_ListModes() didn't sorted correctly. Feb 2, 2019

@capehill capehill added this to To do in SDL1.2 via automation Feb 16, 2019

@capehill capehill changed the title [amigaos4][SDL1]: list of modes returned by SDL_ListModes() didn't sorted correctly. [SDL1]: list of modes returned by SDL_ListModes() didn't sorted correctly. Feb 16, 2019

@capehill

This comment has been minimized.

Copy link
Collaborator

commented May 1, 2019

Tested with testvidinfo, and seems to be better now.

@capehill capehill self-assigned this May 1, 2019

@kas1e

This comment has been minimized.

Copy link
Author

commented May 1, 2019

Yeah, confirmed ! Thanks !

@kas1e kas1e closed this May 1, 2019

SDL1.2 automation moved this from To do to Done May 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.