mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
add a comment to SDL_InitSubSystem explaining its refcounting behavior
This commit is contained in:
parent
2748e28230
commit
321af03ff9
@ -130,6 +130,12 @@ extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function initializes specific SDL subsystems
|
* This function initializes specific SDL subsystems
|
||||||
|
*
|
||||||
|
* Subsystem initialization is ref-counted, you must call
|
||||||
|
* SDL_QuitSubSystem for each SDL_InitSubSystem to correctly
|
||||||
|
* shutdown a subsystem manually (or call SDL_Quit to force shutdown).
|
||||||
|
* If a subsystem is already loaded then this call will
|
||||||
|
* increase the ref-count and return.
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
|
extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user