summaryrefslogtreecommitdiff
path: root/src/glx/drisw_glx.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-04-28 08:54:45 -0400
committerAdam Jackson <ajax@redhat.com>2011-06-29 14:07:19 -0400
commitd44f821213d7ed67fed18d6ea6c34b61a665c89e (patch)
tree3a028160825068f8c36fbee560506578eb7aeab9 /src/glx/drisw_glx.c
parent4833104718677caad0027d5e7539ca9bba389392 (diff)
drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/glx/drisw_glx.c')
-rw-r--r--src/glx/drisw_glx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 07d495595a..d63f6e8d5f 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -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;