mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 22:58:05 +02:00
drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d44f821213)
This commit is contained in:
parent
bf7b347c10
commit
b2fbf8225b
1 changed files with 0 additions and 4 deletions
|
|
@ -369,10 +369,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue