glx: Fix build and warnings with -Dglx=dri -Dglx-direct=false
[mesa.git] / src / glx / dri_common.c
index d70bff43eb46e8c511ab050097e63c9e41eb15aa..a5fae27fce9dbcfc385b5cf096e48f8fea97eda8 100644 (file)
@@ -500,10 +500,6 @@ 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.
          */