From: Thomas Hellstrom Date: Thu, 2 Apr 2009 08:30:30 +0000 (+0200) Subject: dri glx: Propagate driver MakeCurrent errors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c952b3e907ab31cd5f95157c18ce2f81626aafe4;p=mesa.git dri glx: Propagate driver MakeCurrent errors. Signed-off-by: Thomas Hellstrom --- diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index ae790554055..a9e37ca51eb 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -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); } /*@}*/