mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 22:40:42 +09:00
Do not require a valid drm plane to capture a window on amd/intel x11
This commit is contained in:
@@ -488,7 +488,6 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
|
||||
// }
|
||||
|
||||
bool gsr_egl_load(gsr_egl *self, Display *dpy, bool wayland, bool is_monitor_capture) {
|
||||
(void)is_monitor_capture;
|
||||
memset(self, 0, sizeof(gsr_egl));
|
||||
self->x11.dpy = dpy;
|
||||
self->context_type = GSR_GL_CONTEXT_TYPE_EGL;
|
||||
|
||||
Reference in New Issue
Block a user