diff options
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-02 11:00:41 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-02 11:33:20 +0200 |
commit | 96fd3df59a161957876bfd7a49992e5a2130370c (patch) | |
tree | e9fa2479b5bf78f847cb6762d21f5b5583cbd780 /progs/redbook/fog.c | |
parent | 8e753d04045a82062ac34d3b2622eb9dba8af374 (diff) |
glx: MakeCurrent fixes.
1) If MakeContextCurrent is called with (NULL, None, None), Don't
send the request to the X server if the current context is direct.
2) Return BadMatch in some error cases according to the glx spec.
3) If MakeContextCurrent is called for a context which is current in
another thread, return BadAccess according to the glx spec.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'progs/redbook/fog.c')
0 files changed, 0 insertions, 0 deletions