Skip to content

EGLDisplay & EGLSurface GL targets satisfaction in SDL3 #14

@hermet

Description

@hermet

@wenjieshen We might need to upgrade to SDL3 first. Until that, we could pass nullptr...

SDL_EGLDisplay display = SDL_EGL_GetCurrentDisplay();
 // sdl is running on egl.
if (display) {
   //get surface
}

https://wiki.libsdl.org/SDL3/SDL_EGL_GetCurrentDisplay
https://wiki.libsdl.org/SDL3/SDL_EGL_GetWindowSurface

Originally posted by @hermet in #10 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions