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 4439

Summary: [PATCH] riscos: Fix returning from full-screen to 16M colour modes
Product: SDL Reporter: Cameron Cawley <ccawley2011>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: ARM   
OS: RISC OS   
Attachments: riscos: Fix returning from full-screen to 16M colour modes

Description Cameron Cawley 2019-01-01 15:39:26 UTC
Created attachment 3557 [details]
riscos: Fix returning from full-screen to 16M colour modes

From https://www.riscosopen.org/wiki/documentation/show/Mode%20Selector%20Block :

"The list of mode variables should be terminated by a single word containing -1. When processing mode selector blocks yourself, make sure you do not confuse a mode variable value of -1 with a terminator; it is only the first word of each pair (the variable number) that you should check against -1."
Comment 1 Sam Lantinga 2019-01-05 05:50:03 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/2560bdcf3130