Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Jackson
libglvnd
Commits
217d1a20
Commit
217d1a20
authored
Apr 26, 2021
by
Adam Jackson
🎧
Browse files
glx: Remove GLXQueryContextInfoEXT fallback
GLX_EXT_libglvnd requires GLX 1.3, we can assume GLXQueryContext works.
parent
e1a42895
Pipeline
#308833
passed with stages
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/GLX/libglx.c
View file @
217d1a20
...
...
@@ -388,18 +388,6 @@ static int __glXGetScreenForContextID(Display *dpy, __GLXdisplayInfo *dpyInfo,
req
->
reqType
=
dpyInfo
->
glxMajorOpcode
;
req
->
glxCode
=
X_GLXQueryContext
;
req
->
context
=
contextID
;
}
else
{
xGLXVendorPrivateReq
*
vpreq
;
xGLXQueryContextInfoEXTReq
*
req
;
GetReqExtra
(
GLXVendorPrivate
,
sz_xGLXQueryContextInfoEXTReq
-
sz_xGLXVendorPrivateReq
,
vpreq
);
req
=
(
xGLXQueryContextInfoEXTReq
*
)
vpreq
;
req
->
reqType
=
dpyInfo
->
glxMajorOpcode
;
req
->
glxCode
=
X_GLXVendorPrivateWithReply
;
req
->
vendorCode
=
X_GLXvop_QueryContextInfoEXT
;
req
->
context
=
contextID
;
}
_XReply
(
dpy
,
(
xReply
*
)
&
reply
,
0
,
False
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment