glx: Implement GLX_EXT_no_config_context
[mesa.git] / src / glx / dri_common.c
index a5fae27fce9dbcfc385b5cf096e48f8fea97eda8..d70bff43eb46e8c511ab050097e63c9e41eb15aa 100644 (file)
@@ -500,6 +500,10 @@ dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
             return false;
          }
          break;
+      case GLX_SCREEN:
+         /* Implies GLX_EXT_no_config_context */
+         *render_type = GLX_DONT_CARE;
+         break;
       default:
         /* If an unknown attribute is received, fail.
          */