From b6eb09ff13b58882d218e0207ffc282fa128c983 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 20 Mar 2020 15:55:02 -0700 Subject: [PATCH] Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init() --- include/SDL_hints.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL_hints.h b/include/SDL_hints.h index c07c7f9e3..d8d8075bd 100644 --- a/include/SDL_hints.h +++ b/include/SDL_hints.h @@ -1019,7 +1019,8 @@ extern "C" { /** * \brief Tell SDL not to catch the SIGINT or SIGTERM signals. * - * This hint only applies to Unix-like platforms. + * This hint only applies to Unix-like platforms, and should set before + * any calls to SDL_Init() * * The variable can be set to the following values: * "0" - SDL will install a SIGINT and SIGTERM handler, and when it