aboutsummaryrefslogtreecommitdiff
path: root/include/egl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-26 17:47:43 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-26 17:47:43 +0200
commit51ee40f85db3dbf47421e2a7e4916ef76f2ca260 (patch)
tree6009492eeace11149b492a31975786cf81fb64c7 /include/egl.h
parent77fea88fe63cbe7a2551b3a2a16d851e1b448add (diff)
Revert "Better glx config selection"
This reverts commit 69c3102465e1d0246d2f78073b517e2779733054.
Diffstat (limited to 'include/egl.h')
-rw-r--r--include/egl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/egl.h b/include/egl.h
index 5a2efb4..3fdbf48 100644
--- a/include/egl.h
+++ b/include/egl.h
@@ -213,8 +213,7 @@ struct gsr_egl {
const char *dri_card_path;
void *glx_context;
- GLXFBConfig *glx_fb_configs;
- GLXFBConfig glx_fb_config;
+ void *glx_fb_config;
gsr_gpu_info gpu_info;
@@ -247,9 +246,7 @@ struct gsr_egl {
FUNC_eglQueryDmaBufModifiersEXT eglQueryDmaBufModifiersEXT;
__GLXextFuncPtr (*glXGetProcAddress)(const unsigned char *procName);
- int (*glXGetFBConfigAttrib)(Display *dpy, GLXFBConfig config, int attribute, int *value);
- GLXFBConfig* (*glXGetFBConfigs)(Display *dpy, int screen, int *nelements);
- XVisualInfo* (*glXGetVisualFromFBConfig)(Display *dpy, GLXFBConfig config);
+ GLXFBConfig* (*glXChooseFBConfig)(Display *dpy, int screen, const int *attribList, int *nitems);
Bool (*glXMakeContextCurrent)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
// TODO: Remove
GLXContext (*glXCreateNewContext)(Display *dpy, GLXFBConfig config, int renderType, GLXContext shareList, Bool direct);