Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_EGL_GetCurrentConfig - Get the currently active EGL config.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                        SDL_EGL_GetCurrentConfig(3)

Name

       SDL_EGL_GetCurrentConfig - Get the currently active EGL config.

Return Value

       Returns the currently active EGL config or NULL on failure; call SDL_GetError() for more information.

Synopsis

#include<SDL3/SDL_video.h>SDL_EGLConfigSDL_EGL_GetCurrentConfig(void);

Thread Safety

       This function should only be called on the main thread.

See Also