diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-04-26 15:32:08 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-04-27 12:17:11 +0100 |
commit | 64fa717b18272bda2551a6dc2e1a40725b031097 (patch) | |
tree | 001f377e8261fb3224a37ed3bbdf19c4efe79e08 /src/mesa/drivers/dri/savage/server | |
parent | ae79e778f7fae99812ade79ecf5cf3c783d2a93b (diff) |
dri_util: Assume error checking is done properly in glXMakeCurrent
In short what the code did before:
__DRIscreen *psp = NULL;
if (pcp)
psp = pcp->psb;
assert(psp);
if (psp->stuff)
other_stuff();
return psb->even_more(pcp);
Remove all that stupid checking which still segfaults/asserts later on and
just do what we do in driUnbindContext. Also limited testing show libGL never
call driUnbindContext or driBindContext with cPriv == NULL.
Diffstat (limited to 'src/mesa/drivers/dri/savage/server')
0 files changed, 0 insertions, 0 deletions