diff options
author | marha <marha@users.sourceforge.net> | 2012-06-15 08:28:24 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-15 08:28:24 +0200 |
commit | 7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb (patch) | |
tree | 4b28c371be2077a3a6127cbc0694c80a84100699 /xorg-server/glx/glxext.c | |
parent | 925b68a7b26823fdfa1cb25d3edc3545fc2175b1 (diff) | |
download | vcxsrv-7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb.tar.gz vcxsrv-7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb.tar.bz2 vcxsrv-7a2af605c2c2b0d2e9bbb0b161eba8842acefbcb.zip |
fontconfig mesa pixman xserver git update 15 juni 2012
Diffstat (limited to 'xorg-server/glx/glxext.c')
-rw-r--r-- | xorg-server/glx/glxext.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/xorg-server/glx/glxext.c b/xorg-server/glx/glxext.c index acd696ef0..8d168d8a3 100644 --- a/xorg-server/glx/glxext.c +++ b/xorg-server/glx/glxext.c @@ -157,11 +157,18 @@ DrawableGone(__GLXdrawable * glxPriv, XID xid) return True; } -void -__glXAddToContextList(__GLXcontext * cx) +Bool +__glXAddContext(__GLXcontext * cx) { + /* Register this context as a resource. + */ + if (!AddResource(cx->id, __glXContextRes, (pointer)cx)) { + return False; + } + cx->next = glxAllContexts; glxAllContexts = cx; + return True; } static void @@ -281,8 +288,6 @@ glxClientCallback(CallbackListPtr *list, pointer closure, pointer data) ** By default, assume that the client supports ** GLX major version 1 minor version 0 protocol. */ - cl->GLClientmajorVersion = 1; - cl->GLClientminorVersion = 0; cl->client = pClient; break; |