From c2af57a978b29e536260b6bf8440827a4d8e01f7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 21 Mar 2024 10:49:11 +0100 Subject: Destroy glx context on fail/deinit --- include/egl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/egl.h b/include/egl.h index 1e9e0aa..afdb5a9 100644 --- a/include/egl.h +++ b/include/egl.h @@ -213,6 +213,7 @@ struct gsr_egl { Bool (*glXMakeContextCurrent)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); // TODO: Remove GLXContext (*glXCreateNewContext)(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool direct); + void (*glXDestroyContext)(Display *dpy, GLXContext ctx); void (*glXSwapBuffers)(Display *dpy, GLXDrawable drawable); FUNC_glXCreateContextAttribsARB glXCreateContextAttribsARB; -- cgit v1.2.3