dri glx: Propagate driver MakeCurrent errors.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
This commit is contained in:
Thomas Hellstrom 2009-04-02 10:30:30 +02:00
parent fbabeb9b56
commit c952b3e907

View file

@ -200,9 +200,8 @@ static int driBindContext(__DRIcontext *pcp,
}
/* Call device-specific MakeCurrent */
(*psp->DriverAPI.MakeCurrent)(pcp, pdp, prp);
return GL_TRUE;
return (*psp->DriverAPI.MakeCurrent)(pcp, pdp, prp);
}
/*@}*/