DOKK / manpages / debian 13 / libsdl3-doc / SDL_SurfaceHasRLE.3.en
SDL_SurfaceHasRLE(3) SDL3 FUNCTIONS SDL_SurfaceHasRLE(3)

SDL_SurfaceHasRLE - Returns whether the surface is RLE enabled.

Defined in SDL3/SDL_surface.h

#include "SDL3/SDL.h"
bool SDL_SurfaceHasRLE(SDL_Surface *surface);

It is safe to pass a NULL surface here; it will return false.

the SDL_Surface
structure to query.

Returns true if the surface is RLE enabled, false otherwise.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_SetSurfaceRLE(3)

SDL 3.2.10 Simple Directmedia Layer