Drop GLX 1.3 requirement. 21/621/1
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Thu, 1 Jul 2010 06:19:54 +0000 (08:19 +0200)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 7 Jul 2010 06:53:23 +0000 (14:53 +0800)
va/glx/va_glx_impl.c

index c28da91..f5bbe91 100644 (file)
@@ -1070,12 +1070,6 @@ VAStatus va_glx_init_context(VADriverContextP ctx)
 
         if (!glXQueryVersion((Display *)ctx->native_dpy, &glx_major, &glx_minor))
             return VA_STATUS_ERROR_UNIMPLEMENTED;
-        if (glx_major < 1 || (glx_major == 1 && glx_minor < 3)) { /* GLX 1.3 */
-            va_glx_error_message("GLX version 1.3 expected but only "
-                                 "version %d.%d is available\n",
-                                 glx_major, glx_minor);
-            return VA_STATUS_ERROR_UNIMPLEMENTED;
-        }
 
         if (!check_tfp_extensions(ctx) || !load_tfp_extensions(ctx))
             return VA_STATUS_ERROR_UNIMPLEMENTED;