commit | 96fd3df59a161957876bfd7a49992e5a2130370c | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | Thu Apr 02 11:00:41 2009 +0200 |
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | Thu Apr 02 11:33:20 2009 +0200 |
tree | e9fa2479b5bf78f847cb6762d21f5b5583cbd780 | |
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>