We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 548

Summary: Fix SDL_ListModes() in SDL_compat
Product: SDL Reporter: Gwenole Beauchesne <gwenole.beauchesne>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Fix SDL_ListModes() with NULL format argument

Description Gwenole Beauchesne 2008-02-10 09:55:38 UTC
Hi, SDL_ListModes()::format can be NULL according to the documentation, and some code. e.g. mine to get the actual display width.
Comment 1 Gwenole Beauchesne 2008-02-10 09:57:59 UTC
Created attachment 249 [details]
Fix SDL_ListModes() with NULL format argument
Comment 2 Sam Lantinga 2008-11-25 11:34:17 UTC
Thank you very much for your patch for SDL 1.3!

Do you give me permission to release your code with SDL 1.3 and future
versions of SDL under both the LGPL and a closed-source commercial
license?
Comment 3 Ryan C. Gordon 2009-10-10 22:47:15 UTC
Tossing this bug to Sam.

--ryan.
Comment 4 Sam Lantinga 2009-12-15 18:14:31 UTC
It looks like this is already fixed in subversion.