Mesa (master): drisw: Remove cargo culting that breaks GLX 1.3 ctors
Adam Jackson
ajax at kemper.freedesktop.org
Wed Jun 29 18:07:34 UTC 2011
Module: Mesa
Branch: master
Commit: d44f821213d7ed67fed18d6ea6c34b61a665c89e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d44f821213d7ed67fed18d6ea6c34b61a665c89e
Author: Adam Jackson <ajax at redhat.com>
Date: Thu Apr 28 08:54:45 2011 -0400
drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
src/glx/drisw_glx.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 07d4955..d63f6e8 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;
More information about the mesa-commit
mailing list