st/xlib: reduce the proliferation of GLX context types
authorKeith Whitwell <keithw@vmware.com>
Fri, 14 Aug 2009 16:56:33 +0000 (17:56 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 14 Aug 2009 16:56:47 +0000 (17:56 +0100)
commit51c47383f9ec68d2ac851e0abd447311ebce2d7f
tree732b2d90161a3f314bb3c2ebcf8d638a566b47e0
parent9616e4ad1c055d8ff9ab671914f97e402d0aa4b0
st/xlib: reduce the proliferation of GLX context types

Now there is just a single, struct __GLXcontextRec, which is the
GLXContext typedef has already been defined as a pointer to.  I
believe this is the intended usage, that GLX implementations should
define that struct as they require.

Merge the two previous structs into one and get rid of the
no-longer-necessary type casts and sub-classing.
src/gallium/state_trackers/glx/xlib/glx_api.c