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 4946

Summary: fbdev: Allow exiting without clearing the framebuffer
Product: SDL Reporter: Paul Cercueil <paul>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 1.2   
Hardware: All   
OS: Linux   
Attachments: Patch to fix the issue

Description Paul Cercueil 2020-01-13 18:18:04 UTC
Created attachment 4162 [details]
Patch to fix the issue

From the patch:

"By setting the environment variable SDL_FBCON_DONT_CLEAR, the
application won't clear the framebuffer when exiting.

We use it inside an app launcher, which will set this variable before
exiting, in order for the loading screen to stay visible until the
launched application takes hand."
Comment 1 Ozkan Sezer 2020-09-22 02:10:02 UTC
The patch is in. Thanks.
http://hg.libsdl.org/SDL/rev/e4139c50698a