diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-09-07 11:36:07 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-09-07 09:07:23 -0400 |
commit | 23e2dec1a1cae26430a988e0c74b1f2b13eb0f6f (patch) | |
tree | 82c4882ee45242336fc741ea5f86c8c0c5dc817e /src/glut | |
parent | a7c4541d272d5dc11e4cfe0a2dcaf42f0b98a50e (diff) |
glx: Only clear the stored context tag when the context has been unbound
The calling order of ->bind and ->unbind changed and then ->unbind would
clear the currentContextTag of the old context before ->bind could reuse
it in the make current request, in the indirect case.
Instead, clear the old currentContextTag if and only if we send a request
to the server to actually unbind it or reassign it to another context.
https://bugs.freedesktop.org/show_bug.cgi?id=29977
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'src/glut')
0 files changed, 0 insertions, 0 deletions