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 - [PATCH] riscos: Fix returning from full-screen to 16M colour modes
Summary: [PATCH] riscos: Fix returning from full-screen to 16M colour modes
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-01 15:39 UTC by Cameron Cawley
Modified: 2019-01-05 05:50 UTC (History)
0 users

See Also:


Attachments
riscos: Fix returning from full-screen to 16M colour modes (1.64 KB, patch)
2019-01-01 15:39 UTC, Cameron Cawley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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