drisw: Remove cargo culting that breaks GLX 1.3 ctors
authorAdam Jackson <ajax@redhat.com>
Thu, 28 Apr 2011 12:54:45 +0000 (08:54 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 29 Jun 2011 18:07:19 +0000 (14:07 -0400)
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/drisw_glx.c

index 07d495595a9654a771893db4763c62e1e2ed8c43..d63f6e8d5ff81063d598a338e2cd2017fe7dfb54 100644 (file)
@@ -362,10 +362,6 @@ driswCreateDrawable(struct glx_screen *base, XID xDrawable,
 
    const __DRIswrastExtension *swrast = psc->swrast;
 
-   /* Old dri can't handle GLX 1.3+ drawable constructors. */
-   if (xDrawable != drawable)
-      return NULL;
-
    pdp = Xmalloc(sizeof(*pdp));
    if (!pdp)
       return NULL;