|
@@ -664,13 +664,14 @@ extern SDL_DECLSPEC void SDLCALL SDL_UnregisterApp(void);
|
|
|
/**
|
|
/**
|
|
|
* Callback from the application to let the suspend continue.
|
|
* Callback from the application to let the suspend continue.
|
|
|
*
|
|
*
|
|
|
- * This should be called in response to an `SDL_EVENT_DID_ENTER_BACKGROUND` event,
|
|
|
|
|
- * which can be detected via event watch. However, do NOT call this function
|
|
|
|
|
- * directly from within an event watch callback. Instead, wait until the app has
|
|
|
|
|
- * suppressed all rendering operations, then call this from the application
|
|
|
|
|
- * render thread.
|
|
|
|
|
- *
|
|
|
|
|
- * When using SDL_Render, this should be called after calling SDL_GDKSuspendRenderer.
|
|
|
|
|
|
|
+ * This should be called in response to an `SDL_EVENT_DID_ENTER_BACKGROUND`
|
|
|
|
|
+ * event, which can be detected via event watch. However, do NOT call this
|
|
|
|
|
+ * function directly from within an event watch callback. Instead, wait until
|
|
|
|
|
+ * the app has suppressed all rendering operations, then call this from the
|
|
|
|
|
+ * application render thread.
|
|
|
|
|
+ *
|
|
|
|
|
+ * When using SDL_Render, this should be called after calling
|
|
|
|
|
+ * SDL_GDKSuspendRenderer.
|
|
|
*
|
|
*
|
|
|
* When using SDL_GPU, this should be called after calling SDL_GDKSuspendGPU.
|
|
* When using SDL_GPU, this should be called after calling SDL_GDKSuspendGPU.
|
|
|
*
|
|
*
|