Skip to content

EGLDisplay & EGLSurface GL targets satisfaction in SDL3 #11

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 thorvg/thorvg.example#10 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions