OSDN Git Service

glx: Handle imported contexts outside of CreateContext
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 5 Feb 2010 00:43:46 +0000 (16:43 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 11 Feb 2010 23:40:29 +0000 (15:40 -0800)
commit2243029eeec9e31b92079ff0e8fafdc0315053d6
treebcbfd5a9b156334c22e740798c6c6435cf57e69d
parent7bcfb66000557a0ef32bdc6b31949a92f95a9ff6
glx: Handle imported contexts outside of CreateContext

A long time ago I was a bit over-agressive in refactoring context
creation into a single function.  The creation code for
glXImportContextEXT does not belong  in CreateContext because it does
not use any GLX protocol.  The big if-statement for the import case
routed around almost the entire function anyway.
src/glx/glxcmds.c