mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 18:50:33 +01:00
glx: Disable the indirect fallback in CreateContextAttribs
If your app cares enough to use CreateContextAttribs it's probably not going to be happy with the pre-GL-1.5 indirect experience. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12006>
This commit is contained in:
parent
5dba6726f7
commit
86fd72448c
1 changed files with 7 additions and 7 deletions
|
|
@ -109,16 +109,16 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config,
|
|||
gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs,
|
||||
(const uint32_t *) attrib_list,
|
||||
&dummy_err);
|
||||
}
|
||||
|
||||
if (gc == NULL) {
|
||||
}
|
||||
#ifdef GLX_USE_APPLEGL
|
||||
else if (gc == NULL) {
|
||||
gc = applegl_create_context(psc, cfg, share, 0);
|
||||
#else
|
||||
gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
|
||||
(const uint32_t *) attrib_list,
|
||||
&dummy_err);
|
||||
}
|
||||
#endif
|
||||
else if (!direct) {
|
||||
gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
|
||||
(const uint32_t *) attrib_list,
|
||||
&dummy_err);
|
||||
}
|
||||
|
||||
xid = xcb_generate_id(c);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue