浏览代码

Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init()

Sam Lantinga 5 年之前
父节点
当前提交
b6eb09ff13
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      include/SDL_hints.h

+ 2 - 1
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