summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-07-07 12:03:54 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-07-07 12:03:54 +0000
commit183abf961090bb66c6a66474d7a488ee4dea4393 (patch)
tree82299f8d41cf5c62bcf20b88c9fc2d7763e97601
parentdba432f370d19e3d2f6df0a7689172fe7001862d (diff)
Unbreak GLX1.3 ctors with software dri, this makes clutter/cogl works with
software accleration. Upstream commit d44f821213d7ed67fed18d6ea6c34b61a665c89e by Adam Jackson ok ajacoutot@, jasper@, robert@
-rw-r--r--dist/Mesa/src/glx/drisw_glx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dist/Mesa/src/glx/drisw_glx.c b/dist/Mesa/src/glx/drisw_glx.c
index 237ce1761..186f66287 100644
--- a/dist/Mesa/src/glx/drisw_glx.c
+++ b/dist/Mesa/src/glx/drisw_glx.c
@@ -361,10 +361,6 @@ driCreateDrawable(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;