drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
4833104718
commit
d44f821213
|
@ -362,10 +362,6 @@ driswCreateDrawable(struct glx_screen *base, XID xDrawable,
|
||||||
|
|
||||||
const __DRIswrastExtension *swrast = psc->swrast;
|
const __DRIswrastExtension *swrast = psc->swrast;
|
||||||
|
|
||||||
/* Old dri can't handle GLX 1.3+ drawable constructors. */
|
|
||||||
if (xDrawable != drawable)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
pdp = Xmalloc(sizeof(*pdp));
|
pdp = Xmalloc(sizeof(*pdp));
|
||||||
if (!pdp)
|
if (!pdp)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue