| Summary: | Cant create EGLSurface in Wayland from SDLWindow (no EGLNativeWindow pointer) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | sashikknox <sashikknox> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | sashikknox |
| Version: | 2.0.12 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: |
egl wayland
patch |
||
|
Description
sashikknox
2021-01-08 15:28:48 UTC
Yes, this sounds fine. Can you attach a tested patch that implements this, relative to the latest SDL code? Thanks! Ok, i'll try do it as fast as i can ) Created attachment 4644 [details]
egl wayland
patch for Wayland backend of SDL2
Created attachment 4645 [details]
patch
(In reply to Sam Lantinga from comment #1) > Yes, this sounds fine. > > Can you attach a tested patch that implements this, relative to the latest > SDL code? > > Thanks! is my patch enough? Pretty close. I added a version check and pushed it: https://hg.libsdl.org/SDL/rev/72d90e6fd083 Thanks! |