glx: Propagate the glXIsDirect protocol error back to the application
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 8 Dec 2011 00:13:02 +0000 (16:13 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Dec 2011 16:40:30 +0000 (08:40 -0800)
commited4a65c3cfdf88afba48860be34ce26f7c371869
treebc48f68998c384735d73aa4af9fd771e8a925de0
parentfba400072fb64dd326d35bb12a27ca17f9e03ada
glx: Propagate the glXIsDirect protocol error back to the application

If the server returned BadContext, the error would just get droped on
the floor.

Fixes the piglit test glx-import-context-single-process

NOTE: This is a candidate for the 7.11 branch, but it also requires
the previous patch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxcmds.c