dri glx: Propagate driver MakeCurrent errors.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*@}*/
|
||||
|
||||
Reference in New Issue
Block a user