diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-21 10:49:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-21 10:49:15 +0100 |
commit | c2af57a978b29e536260b6bf8440827a4d8e01f7 (patch) | |
tree | 6012d2f8d50aeb5d7b72bcf83ca406012f71bb13 /include/egl.h | |
parent | 61a25c0dcc7a1c64167aa316d0e7514fbd778fea (diff) |
Destroy glx context on fail/deinit
Diffstat (limited to 'include/egl.h')
-rw-r--r-- | include/egl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |