-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Milestone
Description
SDL/src/video/x11/SDL_x11window.c
Line 651 in 4eac44b
windowdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType)w); |
It seems windowdata->egl_surface is only ever set for X11 windows created by SDL, not any foreign windows (i.e. with X11_CreateWindowFrom), preventing SDL's EGL impl from being used with foreign X11 windows.
Probably can have this surface creation just be moved to SetupWindowData?
(This issue affects both SDL3 and SDL2, but for my purposes I'd want to have this fixed in SDL2 too).
Metadata
Metadata
Assignees
Labels
No labels