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

SDL_EGL_GetCurrentDisplay - Get the currently active EGL display.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                       SDL_EGL_GetCurrentDisplay(3)

Header File

       Defined in SDL3/SDL_video.h

Name

       SDL_EGL_GetCurrentDisplay - Get the currently active EGL display.

Return Value

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

Synopsis

#include"SDL3/SDL.h"SDL_EGLDisplaySDL_EGL_GetCurrentDisplay(void);

Thread Safety

       This function should only be called on the main thread.

See Also