Skip to content

SdlFailed

Checks if an SDL API failed.

Definition

Unit: Neslib.Sdl3.Basics

function SdlFailed(const ASdlResult: Boolean): Boolean; overload; inline

Parameters

ASdlResult: Boolean : The Boolean result of an SDL API.

Returns

Boolean: True if ASdlResult=False, False if ASdlResult=True.

Remarks

If this method returns True, then TSdlApp.HandleError will be called.