glamor: Drop the set of the context to NULL at the end of glamor ops.
authorEric Anholt <eric@anholt.net>
Sun, 5 Jan 2014 10:45:05 +0000 (02:45 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 17 Mar 2014 21:30:41 +0000 (14:30 -0700)
commita895f6a16588024e03218d8d0e77dd8bd8494329
tree963579fd3e69df5db6e52d81bbc36230339cf5e0
parentf31911ff8f3f3707101b7771d5dc994ed1ca5c70
glamor: Drop the set of the context to NULL at the end of glamor ops.

The theory here was that it (which I copied from EGL) existed to fix
up context switching with indirect GLX.  But indirect GLX won't even
try to set the context again unless its lastContext field is cleared,
so we need to solve this a different way.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
glamor/glamor_glx.c