summaryrefslogtreecommitdiffstats
path: root/src/glx/driwindows_glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/driwindows_glx.c')
-rw-r--r--src/glx/driwindows_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/driwindows_glx.c b/src/glx/driwindows_glx.c
index 85525431bf9..b2dc810f8cb 100644
--- a/src/glx/driwindows_glx.c
+++ b/src/glx/driwindows_glx.c
@@ -240,7 +240,7 @@ driwindows_create_context_attribs(struct glx_screen *base,
identical values, so far
*/
- if (!psc->base.driScreen)
+ if (!psc->base.driScreen || !config_base)
return NULL;
/* Check the renderType value */