glx: Implement GLX_EXT_no_config_context
[mesa.git] / src / glx / driwindows_glx.c
index 85525431bf9565ae89f9b5aa12c578e951b078f7..b2dc810f8cb10cf3aaae036739d9e0c6a702d9d4 100644 (file)
@@ -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 */