Do not call SDL_Quit()
It may crash in i965_dri.so when calling SDL_Quit (probably a driver bug). To avoid a segmentation fault, do not call SDL_Quit().
This commit is contained in:
parent
a005df7b37
commit
07b3918129
1 changed files with 3 additions and 1 deletions
|
@ -297,7 +297,9 @@ SDL_bool show_screen(const char *serial, Uint16 local_port) {
|
||||||
ret = SDL_FALSE;
|
ret = SDL_FALSE;
|
||||||
goto screen_finally_stop_decoder;
|
goto screen_finally_stop_decoder;
|
||||||
}
|
}
|
||||||
atexit(SDL_Quit);
|
// FIXME it may crash in SDL_Quit in i965_dri.so
|
||||||
|
// As a workaround, do not call SDL_Quit() (we are exiting anyway).
|
||||||
|
// atexit(SDL_Quit);
|
||||||
|
|
||||||
// Bilinear resizing
|
// Bilinear resizing
|
||||||
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1")) {
|
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1")) {
|
||||||
|
|
Loading…
Reference in a new issue