logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SurfaceHasRLE - Returns whether the surface is RLE enabled.

Availability

       This function is available since SDL 3.2.0.

Description

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

Function Parameters

surface
              the SDL_Surface structure to query.

Name

       SDL_SurfaceHasRLE - Returns whether the surface is RLE enabled.

Return Value

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

See Also

SDL_SetSurfaceRLE(3)

Simple Directmedia Layer                           SDL 3.2.20                               SDL_SurfaceHasRLE(3)

Synopsis

#include<SDL3/SDL_surface.h>boolSDL_SurfaceHasRLE(SDL_Surface*surface);

Thread Safety

       It is safe to call this function from any thread.

See Also