From 39374a31358df9913ad604098fd1809f24440b40 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Mon, 3 Oct 2022 10:36:39 +0100
Subject: [PATCH] README: Mention the ALLOW_THREADED_ quirks
Signed-off-by: Simon McVittie <smcv@debian.org>
---
README.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/README.md b/README.md
index 201740d7..0bab4685 100644
--- a/README.md
+++ b/README.md
@@ -246,6 +246,18 @@ The available options are:
applications which use their own mouse cursors. See also:
https://wiki.libsdl.org/SDL_HINT_MOUSE_RELATIVE_SCALING
+- SDL12COMPAT_ALLOW_THREADED_DRAWS: (checked during SDL_Init)
+ Enabled by default.
+ If disabled, calls to `SDL_UpdateRects()` from non-main threads are
+ converted into requests for the main thread to carry out the update later.
+ The thread that called `SDL_SetVideoMode()` is treated as the main thread.
+
+- SDL12COMPAT_ALLOW_THREADED_PUMPS: (checked during SDL_Init)
+ Enabled by default.
+ If disabled, calls to `SDL_PumpEvents()` from non-main threads are
+ completely ignored.
+ The thread that called `SDL_SetVideoMode()` is treated as the main thread.
+
# Compatibility issues with OpenGL scaling
The OpenGL scaling feature of sdl12-compat allows applications which wish to