aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2011-04-28 08:54:45 -0400
committerAdam Jackson <[email protected]>2011-06-29 14:07:19 -0400
commitd44f821213d7ed67fed18d6ea6c34b61a665c89e (patch)
tree3a028160825068f8c36fbee560506578eb7aeab9 /src/glx
parent4833104718677caad0027d5e7539ca9bba389392 (diff)
drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx')
-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 07d495595a9..d63f6e8d5ff 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;