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 - fbdev: Allow exiting without clearing the framebuffer
Summary: fbdev: Allow exiting without clearing the framebuffer
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 18:18 UTC by Paul Cercueil
Modified: 2020-09-22 02:10 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix the issue (2.10 KB, text/plain)
2020-01-13 18:18 UTC, Paul Cercueil
Details

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