Get the EGL surface associated with the window.
SDL_EGLSurface SDL_EGL_GetWindowEGLSurface(SDL_Window *window);
window | the window to query |
Returns the EGLSurface pointer associated with the window, or NULL on failure.
This function is available since SDL 3.0.0.