mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-05 07:09:32 +00:00
Fix various typos (docs/build scripts/tests)
This commit is contained in:
@@ -218,7 +218,7 @@ You should not use the SDL renderer API while the app going in background:
|
||||
GL context is restored, and the SDL renderer API is available (unless you
|
||||
receive SDL_EVENT_RENDER_DEVICE_RESET).
|
||||
|
||||
Activity lifecyle
|
||||
Activity lifecycle
|
||||
================================================================================
|
||||
|
||||
You can control activity re-creation (eg. onCreate()) behaviour. This allows to keep
|
||||
|
||||
@@ -18,10 +18,10 @@ cmake --install build
|
||||
|
||||
## Hints
|
||||
The PS2 port has a special Hint for having a dynamic VSYNC. The Hint is `SDL_HINT_PS2_DYNAMIC_VSYNC`.
|
||||
If you enabled the dynamic vsync having as well `SDL_RENDERER_PRESENTVSYNC` enabled, then if the app is not able to run at 60 FPS, automatically the `vsync` will be disabled having a better performance, instead of droping FPS to 30.
|
||||
If you enabled the dynamic vsync having as well `SDL_RENDERER_PRESENTVSYNC` enabled, then if the app is not able to run at 60 FPS, automatically the `vsync` will be disabled having a better performance, instead of dropping FPS to 30.
|
||||
|
||||
## Notes
|
||||
If you trying to debug a SDL app through [ps2client](https://github.com/ps2dev/ps2client) you need to avoid the IOP reset, otherwise you will lose the conection with your computer.
|
||||
If you trying to debug a SDL app through [ps2client](https://github.com/ps2dev/ps2client) you need to avoid the IOP reset, otherwise you will lose the connection with your computer.
|
||||
So to avoid the reset of the IOP CPU, you need to call to the macro `SDL_PS2_SKIP_IOP_RESET();`.
|
||||
It could be something similar as:
|
||||
```c
|
||||
|
||||
Reference in New Issue
Block a user