drirc: Enable glthread for PCSX2
[mesa.git] / src / glx / glxcmds.c
index 85041ad5c510fd2ba9e4b5e2298507720dcf25c6..8927976f587bfafd30db115290ce3d2ef0be3a7b 100644 (file)
@@ -238,7 +238,7 @@ validate_renderType_against_config(const struct glx_config *config,
 {
    /* GLX_EXT_no_config_context supports any render type */
    if (!config)
-      return renderType == GLX_DONT_CARE;
+      return True;
 
    switch (renderType) {
       case GLX_RGBA_TYPE:
@@ -269,9 +269,6 @@ glx_context_init(struct glx_context *gc,
    gc->isDirect = GL_TRUE;
    gc->currentContextTag = -1;
 
-   if (!config)
-      gc->renderType = GLX_DONT_CARE;
-
    return True;
 }