Mesa (master): dri glx: Propagate driver MakeCurrent errors.
Thomas Hellstrom
thomash at kemper.freedesktop.org
Thu Apr 2 09:35:08 UTC 2009
Module: Mesa
Branch: master
Commit: c952b3e907ab31cd5f95157c18ce2f81626aafe4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c952b3e907ab31cd5f95157c18ce2f81626aafe4
Author: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Date: Thu Apr 2 10:30:30 2009 +0200
dri glx: Propagate driver MakeCurrent errors.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
---
src/mesa/drivers/dri/common/dri_util.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index ae79055..a9e37ca 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);
}
/*@}*/
More information about the mesa-commit
mailing list