From c952b3e907ab31cd5f95157c18ce2f81626aafe4 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Thu, 2 Apr 2009 10:30:30 +0200 Subject: [PATCH] dri glx: Propagate driver MakeCurrent errors. Signed-off-by: Thomas Hellstrom --- src/mesa/drivers/dri/common/dri_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } /*@}*/ -- 2.30.2