summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcmds.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-26 11:07:13 -0400
committerAdam Jackson <[email protected]>2019-09-26 11:07:13 -0400
commita14e3b43be17997ab67a362addddab44ac856869 (patch)
tree10dabb8e89ca33ead6cb1348a2d4285120b7c885 /src/glx/glxcmds.c
parent30f0c0ea7db129dafb2e879de8faad6907a09791 (diff)
Revert "glx: Implement GLX_EXT_no_config_context"
This reverts commit 0d635ccc912d7122f35f81eec27d8b2c0a2a7a28. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1207
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r--src/glx/glxcmds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 85041ad5c51..8927976f587 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -238,7 +238,7 @@ validate_renderType_against_config(const struct glx_config *config,
{
/* GLX_EXT_no_config_context supports any render type */
if (!config)
- return renderType == GLX_DONT_CARE;
+ return True;
switch (renderType) {
case GLX_RGBA_TYPE:
@@ -269,9 +269,6 @@ glx_context_init(struct glx_context *gc,
gc->isDirect = GL_TRUE;
gc->currentContextTag = -1;
- if (!config)
- gc->renderType = GLX_DONT_CARE;
-
return True;
}