From 788e36d71469822d6c566a292c2002d8dae115cc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 19 Aug 2024 19:59:42 +0200 Subject: comments --- window_texture.c | 1 + 1 file changed, 1 insertion(+) (limited to 'window_texture.c') diff --git a/window_texture.c b/window_texture.c index a4dbb38..dbb83e7 100644 --- a/window_texture.c +++ b/window_texture.c @@ -95,6 +95,7 @@ int window_texture_on_resize(WindowTexture *self) { image = eglCreateImage(self->egl_display, NULL, EGL_NATIVE_PIXMAP_KHR, (EGLClientBuffer)pixmap, pixmap_attrs); if(!image) { + /* One reason this can happen is if the egl display is not the same as the X11 display passed to window_texture_init */ result = 4; goto cleanup; } -- cgit v1.2.3