aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/applegl_glx.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/applegl_glx.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/applegl_glx.c')
-rw-r--r--src/glx/applegl_glx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c
index 85f70058c64..c086e5146a8 100644
--- a/src/glx/applegl_glx.c
+++ b/src/glx/applegl_glx.c
@@ -134,9 +134,6 @@ applegl_create_context(struct glx_screen *psc,
/* TODO: Integrate this with apple_glx_create_context and make
* struct apple_glx_context inherit from struct glx_context. */
- if (!config)
- return NULL;
-
gc = calloc(1, sizeof(*gc));
if (gc == NULL)
return NULL;