Skip to content

SdlTtfWasInit

Check if SDL_ttf is initialized.

This reports the number of times the library has been initialized by a call to SdlTtfInit, without a paired deinitialization request from SdlTtfQuit.

In short: if it's greater than zero, the library is currently initialized and ready to work. If zero, it is not initialized.

Definition

Unit: Neslib.Sdl3.Ttf

function SdlTtfWasInit: Integer; inline

Returns

Integer: The current number of initialization calls, that need to eventually be paired with this many calls to SdlTtfQuit.

See Also

Remarks

It is safe to call this function from any thread.